Merge pull request #71 from thisdavejohnson/master

Move SE Linux python bindings to common role
pull/63/head
Michael DeHaan 10 years ago
commit 9767f3ae6f
  1. 2
      lamp_haproxy/roles/base-apache/tasks/main.yml
  2. 6
      lamp_haproxy/roles/common/tasks/main.yml
  3. 2
      lamp_haproxy/roles/db/tasks/main.yml

@ -5,8 +5,6 @@
yum: name={{ item }} state=present
with_items:
- httpd
- libsemanage-python
- libselinux-python
- name: http service state
service: name=httpd state=started enabled=yes

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

@ -6,8 +6,6 @@
with_items:
- mysql-server
- MySQL-python
- libselinux-python
- libsemanage-python
- name: Configure SELinux to start mysql on any port
seboolean: name=mysql_connect_any state=true persistent=yes