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.
pull/63/head
Dave Johnson 10 years ago
parent 497e49c965
commit 0643b72e0f
  1. 6
      lamp_haproxy/roles/common/tasks/main.yml

@ -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