Skip to content

Commit

Permalink
fix selinux
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 authored and dominikl committed Mar 12, 2024
1 parent 58662ff commit 1d62cd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion tasks/web-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 0 additions & 5 deletions tasks/web-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1d62cd7

Please sign in to comment.