소스 검색

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"