From a05dceaa1a7625cbf5d31bc4f783a75bdf67cf60 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 13 Jun 2019 16:27:49 +0200 Subject: [PATCH] ansible-playbooks/general#85 Fix some complex when statements --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 13b041a..54aa50d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,4 +12,4 @@ - name: Import fluentd-client import_tasks: fluentd-client.yml - when: not excluded_roles or "fluentd-client" not in excluded_roles and fluentd_host is defined and fluentd_host != "" + when: (not excluded_roles or "fluentd-client" not in excluded_roles) and fluentd_host is defined and fluentd_host != "" -- GitLab