diff --git a/tasks/install-ui.yml b/tasks/install-ui.yml index df6c159..dfdf840 100644 --- a/tasks/install-ui.yml +++ b/tasks/install-ui.yml @@ -76,4 +76,4 @@ - name: allow nginx to connect to consul (selinux) seboolean: name=httpd_can_network_connect state=yes persistent=yes - when: consul_is_ui and consul_install_nginx_config and ansible_selinux + when: consul_is_ui and consul_install_nginx_config and ansible_selinux.status == "enabled"