SELinux is a kernel-level policy mechanisms.
Disable secure linux
Alternatively, this can be done during the installation.
- Manually: Disable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows:
- or With ansible
- name: Disable SELinux selinux: state: disabled - name: Reboot required for selinux when: selinux is changed fail: - msg: "selinux has changed, you should reboot the server first"
With an ansible playbook
tasks: - name: enable selinux command: /sbin/setenforce 1