فهرست منبع

Move the selinux check up

Tomas Sedovic 7 سال پیش
والد
کامیت
f462e7a682
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  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"