summaryrefslogtreecommitdiffstats
path: root/roles/openshift_openstack
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_openstack')
-rw-r--r--roles/openshift_openstack/tasks/node-configuration.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/roles/openshift_openstack/tasks/node-configuration.yml b/roles/openshift_openstack/tasks/node-configuration.yml
index 8a6a8022f..89e58d830 100644
--- a/roles/openshift_openstack/tasks/node-configuration.yml
+++ b/roles/openshift_openstack/tasks/node-configuration.yml
@@ -1,11 +1,11 @@
---
+- name: "Verify SELinux is enforcing"
+ fail:
+ msg: "SELinux is required for OpenShift and has been detected as '{{ ansible_selinux.config_mode }}'"
+ when: ansible_selinux.config_mode != "enforcing"
+
- include: hostname.yml
- include: container-storage-setup.yml
- include: node-network.yml
-
-- name: "Verify SELinux is enforcing"
- fail:
- msg: "SELinux is required for OpenShift and has been detected as '{{ ansible_selinux.config_mode }}'"
- when: ansible_selinux.config_mode != "enforcing"