Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

kbrebanov/ansible-selinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No Maintenance Intended

selinux

Ansible Role

Configures SELinux.

Requirements

This role requires Ansible 1.4 or higher.

Role Variables

Name Default Description
selinux_policy targeted SELinux policy type (targeted or mls)
selinux_state permissive SELinux state (permissive, enforcing or disabled)

Dependencies

None

Example Playbook

Configure SELinux in permissive mode.

- hosts: all
  roles:
    - { role: kbrebanov.selinux }

Disable SELinux

- hosts: all
  roles:
    - { role: kbrebanov.selinux, selinux_state: disabled }

Configure SELinux to use mls policy and enforcing mode

- hosts: all
  roles:
    - { role: kbrebanov.selinux, selinux_policy: mls, selinux_state: enforcing}

License

BSD

Author Information

Kevin Brebanov

About

Ansible SELinux role

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published