diff --git a/roles/php/tasks/main.yml b/roles/php/tasks/main.yml index a42c4cc02..8c6a4ba0a 100644 --- a/roles/php/tasks/main.yml +++ b/roles/php/tasks/main.yml @@ -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