W3cubDocs

/Ansible

seboolean - Toggles SELinux booleans.

Synopsis

Toggles SELinux booleans.

Options

parameter required default choices comments
name
yes
Name of the boolean to configure
persistent
no
  • yes
  • no
Set to yes if the boolean setting should survive a reboot
state
yes
  • yes
  • no
Desired boolean value

Examples

# Set (httpd_can_network_connect) flag on and keep it persistent across reboots
- seboolean: name=httpd_can_network_connect state=yes persistent=yes

Notes

Note

Not tested on any debian based system

This is a Core Module

For more information on what this means please read Core Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/seboolean_module.html