diff --git a/tasks/main.yml b/tasks/main.yml index db352d29fbd14c0ec9eb43cc2e422fea1d2d6a30..04f8a7b8402fdfdb4b1d1fc624eba4f462d2f486 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -24,4 +24,4 @@ group: root mode: 644 - when: not excluded_roles or "fluentd" not in excluded_roles and inventory_hostname in groups.logserver + when: (not excluded_roles or "fluentd" not in excluded_roles) and inventory_hostname in groups.logserver