ansible/rst/modules/seboolean.rst
2012-08-30 19:14:14 -04:00

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