blob: 97c04891ebbc9f3ad0a82e5083453d4e099de86e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
SELinux
=======
Description
-----------
The `selinux` role sets the SELinux enforcement policy, enables `auditd`, and
reboots the host (if necessary).
Variables
---------
This role **accepts** the following variables:
Variable | Default | Description
------------------|---------|------------
`selinux_enabled` | yes | `enforcing` if true, `disabled` if false
Usage
-----
Example playbook:
````yaml
- name: set selinux policy
hosts: all
roles:
- role: selinux
vars:
selinux_enabled: yes
````
|