add basic selinux tools for all rhel based hosts
This commit is contained in:
parent
9e2cfbd37c
commit
088a3298c0
2 changed files with 11 additions and 1 deletions
|
@ -35,4 +35,9 @@
|
||||||
|
|
||||||
- name: install os specific roles
|
- name: install os specific roles
|
||||||
include_role:
|
include_role:
|
||||||
name: iptables
|
name: "{{ role }}"
|
||||||
|
with_items:
|
||||||
|
- iptables
|
||||||
|
- selinux
|
||||||
|
loop_control:
|
||||||
|
loop_var: role
|
||||||
|
|
5
roles/selinux/tasks/main.yml
Normal file
5
roles/selinux/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- name: install mandatory selinux packages
|
||||||
|
package:
|
||||||
|
name: policycoreutils-python
|
||||||
|
state: installed
|
Loading…
Add table
Reference in a new issue