ansible.selinux(3) - Linux man page
Name
selinux - Change policy and state of SELinux
Description
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
- conf
path to the SELinux configuration file, if non-standard (default: /etc/selinux/config)
policy
name of the SELinux policy to use (example: targeted) will be required if state is not disabled
state
- The SELinux mode Choices: enforcing,permissive,disabled.(required)."
Notes
Not tested on any debian based system
Examples
selinux: policy=targeted state=enforcing selinux: policy=targeted state=permissive selinux: state=disabled
Author
Derek Carter <goozbach@friocorte.com>
See Also
ansible(1), http://ansible.github.com/modules.html#selinux