diff --git a/tasks/config.yml b/tasks/config.yml index f7d6620cc39b8a7a3730177dc2e51e528ec46c19..b19e3a7be5661dcec8c70000b1dd257f20bf5df1 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -8,5 +8,7 @@ owner: root group: root mode: 0600 + tags: + - Config notify: - Restart auditbeat diff --git a/tasks/main.yml b/tasks/main.yml index c856472b9b92c3dcd2e159d40bc47e471266fa8e..67f8a6c9f4df4b6611cf485c3a3a733f3d929630 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,5 +12,7 @@ - include_tasks: install.yml - include_tasks: config.yml + tags: + - Config when: not excluded_roles or "auditbeat" not in excluded_roles