seboolean

Collection: posix

Full Name: parallax.posix.seboolean

Aliases: ansible.posix.seboolean, seboolean

Synopsis

Toggle SELinux boolean policy switches on or off

Parameters

NameTypeRequiredDefaultDescription
namestringyesName of the SELinux boolean to manage
stateboolyesDesired state of the boolean (true/false)
persistentboolfalseWhether the setting should survive a reboot

Example

- name: Let httpd make outbound network connections
  seboolean:
    name: httpd_can_network_connect
    state: true
    persistent: true