Sfoglia il codice sorgente

Move the selinux check up

Tomas Sedovic 7 anni fa
parent
commit
f462e7a682
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  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"