seboolean
Collection: posix
Full Name: parallax.posix.seboolean
Aliases: ansible.posix.seboolean, seboolean
Synopsis
Toggle SELinux boolean policy switches on or off
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | Name of the SELinux boolean to manage | |
| state | bool | yes | Desired state of the boolean (true/false) | |
| persistent | bool | false | Whether the setting should survive a reboot |
Example
- name: Let httpd make outbound network connections
seboolean:
name: httpd_can_network_connect
state: true
persistent: true