No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
defaults
meta
tasks
README.md

README.md

ericsysmin.selinux

Using this module you are able manage the SELinux configuration on the host. It can also reboot the host if required.

Requirements

  • libselinux-python package is required on the host executing the playbook/role.

Role Variables

Variable Required Default Comments
selinux_policy No targeted The name of the SELinux policy to use
selinux_state No enforcing The SELinux mode to be used.
reboot No false This flag will tell the remote machine to reboot after modifying.

Example Playbooks

Example


- hosts: all
  roles:
    - role: ericsysmin.selinux
      selinux_state: disabled
      reboot: true

License

MIT

Author Information

Eric Anderson
ericsysmin.com