Skip to content

Commit

Permalink
Only configure sebool if selinux is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Jan 10, 2020
1 parent ab26ac4 commit 9ee52fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/php/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
name: httpd_can_network_connect
state: yes
persistent: yes
when: ansible_selinux
when: ansible_selinux.status == "enabled"



- name: Ensure PHP is configured
Expand Down

0 comments on commit 9ee52fa

Please sign in to comment.