mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
Install SE Linux python bindings
Install SE Linux python bindings in the common role, before copying any files into place. Fixes an issue deploying against CentOS in AWS.
This commit is contained in:
parent
497e49c965
commit
0643b72e0f
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
---
|
||||
# This role contains common plays that will run on all nodes.
|
||||
|
||||
- name: Install python bindings for SE Linux
|
||||
yum: name={{ item }} state=present
|
||||
with_items:
|
||||
- libselinux-python
|
||||
- libsemanage-python
|
||||
|
||||
- name: Create the repository for EPEL
|
||||
copy: src=epel.repo dest=/etc/yum.repos.d/epel.repo
|
||||
|
||||
|
|
Loading…
Reference in a new issue