Configures the SELinux mode and policy. A reboot may be required after usage. Ansible will not issue this reboot but will let you know when it is required.

Options

namedescriptionrequiredchoices
policy name of the SELinux policy to use (example: C(targeted)) will be required if state is not C(disabled)
state The SELinux mode true
  • enforcing
  • permissivedisabled
conf path to the SELinux configuration file, if non-standard

Author

Derek Carter (@goozbach)