ansible / ansible.posix / 1.5.4 / module / seboolean Toggles SELinux booleans | "added in version" 1.0.0 of ansible.posix" Authors: Stephen Fromm (@sfromm)ansible.posix.seboolean (1.5.4) — module
Install with ansible-galaxy collection install ansible.posix:==1.5.4
collections: - name: ansible.posix version: 1.5.4
Toggles SELinux booleans.
- name: Set httpd_can_network_connect flag on and keep it persistent across reboots ansible.posix.seboolean: name: httpd_can_network_connect state: true persistent: true
name: description: - Name of the boolean to configure. required: true type: str state: description: - Desired boolean value required: true type: bool persistent: default: false description: - Set to C(true) 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