forked from ansible-collection/filebeat
16 lines
399 B
YAML
16 lines
399 B
YAML
- name: "Install Filebeat Instance <{{ instance_name }}>"
|
|
hosts: "{{ instance_name }}_filebeats"
|
|
|
|
tasks:
|
|
- name: Filebeat Deploy
|
|
include_role:
|
|
name: filebeat
|
|
vars:
|
|
log_type: "{{ item }}"
|
|
with_items: "{{ deploy_logs }}"
|
|
|
|
- name: Update Alerts Script With Cron
|
|
ansible.builtin.shell: "svn up /data/ops/script/monitor.sh; chmod 755 /data/ops/script/monitor.sh"
|
|
|
|
|