From 060929272a1bb87b6a38e31831d8a89645549868 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 20 Nov 2014 20:58:27 +0100 Subject: [PATCH] Tag SELinux related tasks and allow elections to connect to memcach over the network --- roles/elections/tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/roles/elections/tasks/main.yml b/roles/elections/tasks/main.yml index 56f0905794..276e554b9a 100644 --- a/roles/elections/tasks/main.yml +++ b/roles/elections/tasks/main.yml @@ -46,6 +46,8 @@ action: seboolean name=httpd_can_network_connect_db state=true persistent=true + tags: + - selinux - name: apply selinux type to static files file: > @@ -53,8 +55,19 @@ setype=httpd_sys_content_t state=directory recurse=yes + tags: + - selinux - name: apply selinux type to the wsgi file file: > dest=/usr/share/fedora-elections/fedora-elections.wsgi setype=httpd_sys_content_t + tags: + - selinux + +- name: set sebooleans so apache can talk to memcached0* + action: seboolean name=httpd_can_network_memcache + state=true + persistent=true + tags: + - selinux