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:
Jonathan Rosser 2018-09-25 12:28:43 +01:00
parent af4e551c09
commit 8cf20bfea2
7 changed files with 14 additions and 0 deletions

View File

@ -70,6 +70,8 @@
- Enable and restart apm server
- include_tasks: apm_setup.yml
tags:
- setup
- name: Force beat handlers
meta: flush_handlers

View File

@ -83,6 +83,8 @@
- Enable and restart auditbeat
- include_tasks: auditbeat_setup.yml
tags:
- setup
- name: Force beat handlers
meta: flush_handlers

View File

@ -193,6 +193,8 @@
- Enable and restart filebeat
- include_tasks: filebeat_setup.yml
tags:
- setup
- name: Force beat handlers
meta: flush_handlers

View File

@ -89,6 +89,8 @@
- Enable and restart heartbeat
- include_tasks: heartbeat_setup.yml
tags:
- setup
- name: Force beat handlers
meta: flush_handlers

View File

@ -142,6 +142,8 @@
After: network-online.target
- include_tasks: journalbeat_setup.yml
tags:
- setup
- name: Force beat handlers
meta: flush_handlers

View File

@ -263,6 +263,8 @@
- Enable and restart metricbeat
- include_tasks: metricbeat_setup.yml
tags:
- setup
- name: Force beat handlers
meta: flush_handlers

View File

@ -74,6 +74,8 @@
- Enable and restart packetbeat
- include_tasks: packetbeat_setup.yml
tags:
- setup
- name: Force beat handlers
meta: flush_handlers