Skip to content

Commit 9767f3a

Browse files
committed
Merge pull request ansible#71 from thisdavejohnson/master
Move SE Linux python bindings to common role
2 parents 4aef24b + 508151a commit 9767f3a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

lamp_haproxy/roles/base-apache/tasks/main.yml

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
yum: name={{ item }} state=present
66
with_items:
77
- httpd
8-
- libsemanage-python
9-
- libselinux-python
108

119
- name: http service state
1210
service: name=httpd state=started enabled=yes

lamp_haproxy/roles/common/tasks/main.yml

+6
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

lamp_haproxy/roles/db/tasks/main.yml

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
with_items:
77
- mysql-server
88
- MySQL-python
9-
- libselinux-python
10-
- libsemanage-python
119

1210
- name: Configure SELinux to start mysql on any port
1311
seboolean: name=mysql_connect_any state=true persistent=yes

0 commit comments

Comments
 (0)