ansible/rst/modules/selinux.rst
2012-10-03 21:00:26 -04:00

1.2 KiB

selinux

0.7

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.

parameter required default choices comments
policy yes
    name of the SELinux policy to use (example: 'targeted')
    state yes
    • enforcing
    • permissive
    • disabled
    The SELinux mode
    conf no /etc/selinux/config
      path to the SELinux configuration file, if non-standard

      selinux policy=targeted state=enforcing
      

      selinux policy=targeted state=disabled
      


      Notes

      Not tested on any debian based system