25 lines
1.4 KiB
ReStructuredText
25 lines
1.4 KiB
ReStructuredText
|
.. _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
|
||
|
|
||
|
|