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:
Dave Johnson 2014-07-01 13:17:48 -04:00
parent 497e49c965
commit 0643b72e0f

View file

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