diff --git a/tasks/install-ui.yml b/tasks/install-ui.yml index 004d551..b25169f 100644 --- a/tasks/install-ui.yml +++ b/tasks/install-ui.yml @@ -78,4 +78,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.status == "enabled" + when: consul_is_ui and consul_install_nginx_config and ansible_os_family == "RedHat" and ansible_selinux.status == "enabled"