ericsysmin.selinux
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-pythonpackage 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
Install
ansible-galaxy install ericsysmin.selinuxLicense
mit
Downloads
114
Owner
Senior MTS
