Bläddra i källkod

Move the selinux check up

Tomas Sedovic 7 år sedan
förälder
incheckning
f462e7a682
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5 5
      roles/openshift_openstack/tasks/node-configuration.yml

+ 5 - 5
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"