1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/rst/modules/seboolean.rst

25 lines
1.4 KiB
ReStructuredText
Raw Normal View History

2012-08-31 01:14:14 +02:00
.. _seboolean:
seboolean
`````````
.. versionadded:: 0.7
Toggles SELinux booleans.
+--------------------+----------+---------------------+----------------------------------------------------------------------------+
| parameter | required | default | comments |
+====================+==========+=====================+============================================================================+
| name | yes | | name of the boolean to configure |
+--------------------+----------+---------------------+----------------------------------------------------------------------------+
| persistent | no | no | set to 'yes' if the boolean setting should survive a reboot |
+--------------------+----------+---------------------+----------------------------------------------------------------------------+
| state | yes | | desired boolean value. 'true' or 'false'. |
+--------------------+----------+---------------------+----------------------------------------------------------------------------+
Example from Ansible :doc:`playbooks`::
seboolean name=httpd_can_network_connect state=true persistent=yes