Parcourir la source

Move the selinux check up

Tomas Sedovic il y a 7 ans
Parent
commit
f462e7a682
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  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"