Skip to content

Commit 0643b72

Browse files
author
Dave Johnson
committed
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.
1 parent 497e49c commit 0643b72

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lamp_haproxy/roles/common/tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
---
22
# This role contains common plays that will run on all nodes.
33

4+
- name: Install python bindings for SE Linux
5+
yum: name={{ item }} state=present
6+
with_items:
7+
- libselinux-python
8+
- libsemanage-python
9+
410
- name: Create the repository for EPEL
511
copy: src=epel.repo dest=/etc/yum.repos.d/epel.repo
612

0 commit comments

Comments
 (0)