diff options
author | Dave Johnson <dave@ansibleworks.com> | 2014-07-01 21:17:48 +0400 |
---|---|---|
committer | Dave Johnson <dave@ansibleworks.com> | 2014-07-01 21:17:48 +0400 |
commit | 0643b72e0fb35aa2d7924207413bca856e03b8d9 (patch) | |
tree | 0ed100a2de42ae2869298d074baf444db57ee7b6 | |
parent | 497e49c965c8358fe60dfea286e1cd1b30b7b960 (diff) |
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.
-rw-r--r-- | lamp_haproxy/roles/common/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lamp_haproxy/roles/common/tasks/main.yml b/lamp_haproxy/roles/common/tasks/main.yml index c280d9b..bf59de7 100644 --- a/lamp_haproxy/roles/common/tasks/main.yml +++ b/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 |