Add tags for beats setup tasks
Previously the beat setup tasks were tagged with 'setup' but the include statements were not, so the tasks were always skipped when using '--tags setup'. This change adds tags to the includes so that the tasks are executed as expected Change-Id: If16069cd273d84a22b229b8140e5a8d56eed86d1
This commit is contained in:
parent
af4e551c09
commit
8cf20bfea2
@ -70,6 +70,8 @@
|
||||
- Enable and restart apm server
|
||||
|
||||
- include_tasks: apm_setup.yml
|
||||
tags:
|
||||
- setup
|
||||
|
||||
- name: Force beat handlers
|
||||
meta: flush_handlers
|
||||
|
@ -83,6 +83,8 @@
|
||||
- Enable and restart auditbeat
|
||||
|
||||
- include_tasks: auditbeat_setup.yml
|
||||
tags:
|
||||
- setup
|
||||
|
||||
- name: Force beat handlers
|
||||
meta: flush_handlers
|
||||
|
@ -193,6 +193,8 @@
|
||||
- Enable and restart filebeat
|
||||
|
||||
- include_tasks: filebeat_setup.yml
|
||||
tags:
|
||||
- setup
|
||||
|
||||
- name: Force beat handlers
|
||||
meta: flush_handlers
|
||||
|
@ -89,6 +89,8 @@
|
||||
- Enable and restart heartbeat
|
||||
|
||||
- include_tasks: heartbeat_setup.yml
|
||||
tags:
|
||||
- setup
|
||||
|
||||
- name: Force beat handlers
|
||||
meta: flush_handlers
|
||||
|
@ -142,6 +142,8 @@
|
||||
After: network-online.target
|
||||
|
||||
- include_tasks: journalbeat_setup.yml
|
||||
tags:
|
||||
- setup
|
||||
|
||||
- name: Force beat handlers
|
||||
meta: flush_handlers
|
||||
|
@ -263,6 +263,8 @@
|
||||
- Enable and restart metricbeat
|
||||
|
||||
- include_tasks: metricbeat_setup.yml
|
||||
tags:
|
||||
- setup
|
||||
|
||||
- name: Force beat handlers
|
||||
meta: flush_handlers
|
||||
|
@ -74,6 +74,8 @@
|
||||
- Enable and restart packetbeat
|
||||
|
||||
- include_tasks: packetbeat_setup.yml
|
||||
tags:
|
||||
- setup
|
||||
|
||||
- name: Force beat handlers
|
||||
meta: flush_handlers
|
||||
|
Loading…
x
Reference in New Issue
Block a user