ericsysmin.selinux

ericsysmin.selinux

Build Status

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

About

Manage SELinux settings on a host

Install
ansible-galaxy install ericsysmin.selinux
GitHub repository
License
mit
Downloads
114
Owner
Senior MTS