June 2018
Beginner
578 pages
13h 39m
English
One of the packages we installed during the last section was policycoreutils-python. This allows us to configure SELinux using Python, and therefore Ansible.
By default, the Vagrant box we are using ships with SELinux enabled. Rather than simply stopping SELinux, we can just permit Apache to run outside of its default /var/www/. To do this, we need to add the following to our role:
- name: set the selinux allowing httpd_t to be permissive selinux_permissive: name: httpd_t ...
Read now
Unlock full access