summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-11-02 10:07:08 +0100
committerTomas Sedovic <tomas@sedovic.cz>2017-11-07 14:35:47 +1100
commitf462e7a682cb65085864d7eff4b7898fe8555a75 (patch)
tree3b3ef47a897302bb01d02dbf72c9aee009e0ba6f
parent79f29bc825286c4f69073827a5b6d71f71f47c91 (diff)
downloadopenshift-f462e7a682cb65085864d7eff4b7898fe8555a75.tar.gz
openshift-f462e7a682cb65085864d7eff4b7898fe8555a75.tar.bz2
openshift-f462e7a682cb65085864d7eff4b7898fe8555a75.tar.xz
openshift-f462e7a682cb65085864d7eff4b7898fe8555a75.zip
Move the selinux check up
-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"