roles/base: Basic config management support
The *base* role performs the basic tasks needed to manage a node using Ansible. Specifically, it installs the necessary packages for manipulating SELinux policy.jenkins-master
parent
e327db1f4f
commit
b870daff58
|
@ -0,0 +1,12 @@
|
||||||
|
- name: load distribution-specific values
|
||||||
|
include_vars: '{{ item }}'
|
||||||
|
with_first_found:
|
||||||
|
- '{{ ansible_distribution }}.yml'
|
||||||
|
- defaults.yml
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
|
- name: ensure selinux python bindings are installed
|
||||||
|
package:
|
||||||
|
name={{ selinux_python_libs|join(',') }}
|
||||||
|
state=present
|
|
@ -0,0 +1,3 @@
|
||||||
|
selinux_python_libs:
|
||||||
|
- libselinux-python3
|
||||||
|
- policycoreutils-python3
|
Loading…
Reference in New Issue