seboolean - Toggles SELinux booleans¶
Synopsis¶
- Toggles SELinux booleans.
Requirements¶
The below requirements are needed on the host that executes this module.
- libselinux-python
- libsemanage-python
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
name
required |
Name of the boolean to configure.
|
|
persistent
bool |
|
Set to
yes if the boolean setting should survive a reboot. |
state
bool required |
|
Desired boolean value
|
Examples¶
- name: Set httpd_can_network_connect flag on and keep it persistent across reboots
seboolean:
name: httpd_can_network_connect
state: yes
persistent: yes
Status¶
This module is flagged as stableinterface which means that the maintainers for this module guarantee that no backward incompatible interface changes will be made.
Maintenance¶
This module is flagged as core which means that it is maintained by the Ansible Core Team. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Core Team, see here.
Support¶
For more information about Red Hat’s support of this module, please refer to this Knowledge Base article
Author¶
- Stephen Fromm (@sfromm)
Hint
If you notice any issues in this documentation you can edit this document to improve it.