filebeat/playbooks/deploy.yml

16 lines
399 B
YAML
Raw Normal View History

2021-12-01 16:12:08 +08:00
- 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"
2021-12-01 16:12:08 +08:00