mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
24 lines
1.4 KiB
ReStructuredText
24 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
|
|
|
|
|