diff --git a/tasks/web-dependencies.yml b/tasks/web-dependencies.yml index 1581cb0..7630ce0 100755 --- a/tasks/web-dependencies.yml +++ b/tasks/web-dependencies.yml @@ -19,7 +19,7 @@ proto: tcp setype: http_port_t state: present - when: selinux_enabled + when: ansible_facts.selinux.status == 'enabled' - name: omero web | register pp file stat: diff --git a/tasks/web-nginx.yml b/tasks/web-nginx.yml index 3e452d3..698ce05 100644 --- a/tasks/web-nginx.yml +++ b/tasks/web-nginx.yml @@ -41,8 +41,3 @@ enabled: true name: nginx state: started - -- name: omero web | allow nginx to connect to omero-web - become: true - command: setsebool -P httpd_can_network_connect on -