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

---
- 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

Move the selinux check up
Move the selinux check up
