ansible / ansible.builtin / v2.9.27 / module / seboolean Toggles SELinux booleans | "added in version" 0.7 of ansible.builtin" Authors: Stephen Fromm (@sfromm) stableinterface | supported by coreansible.builtin.seboolean (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Toggles SELinux booleans.
- name: Set httpd_can_network_connect flag on and keep it persistent across reboots seboolean: name: httpd_can_network_connect state: yes persistent: yes
name: description: - Name of the boolean to configure. required: true state: description: - Desired boolean value required: true type: bool persistent: default: 'no' description: - Set to C(yes) if the boolean setting should survive a reboot. type: bool ignore_selinux_state: default: false description: - Useful for scenarios (chrooted environment) that you can't get the real SELinux state. type: bool version_added: '2.8' version_added_collection: ansible.builtin