From dc771f332fc1d0c97ec540721c5b6229f2716c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20P=C3=A1ral?= Date: Mon, 8 Jan 2018 16:57:15 +0100 Subject: [PATCH] the sebool should have been in resultsdb-frontend instead of taskotron-frontend --- roles/taskotron/resultsdb-frontend/tasks/main.yml | 3 +++ roles/taskotron/taskotron-frontend/tasks/main.yml | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/taskotron/resultsdb-frontend/tasks/main.yml b/roles/taskotron/resultsdb-frontend/tasks/main.yml index d4d010a055..fc3ac0f10b 100644 --- a/roles/taskotron/resultsdb-frontend/tasks/main.yml +++ b/roles/taskotron/resultsdb-frontend/tasks/main.yml @@ -16,6 +16,9 @@ - mod_wsgi when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined +- name: ensure selinux lets httpd talk to the network + seboolean: name=httpd_can_network_connect persistent=yes state=yes + - name: generate resultsdb_frontend config template: src=settings.py.j2 dest=/etc/resultsdb_frontend/settings.py owner=root group=root mode=0644 notify: diff --git a/roles/taskotron/taskotron-frontend/tasks/main.yml b/roles/taskotron/taskotron-frontend/tasks/main.yml index cad8e7a263..8291824a30 100644 --- a/roles/taskotron/taskotron-frontend/tasks/main.yml +++ b/roles/taskotron/taskotron-frontend/tasks/main.yml @@ -11,9 +11,6 @@ - httpd when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined -- name: ensure selinux lets httpd talk to the network - seboolean: name=httpd_can_network_connect persistent=yes state=yes - - name: create dirs for static files file: path=/var/www/html/{{ item }} state=directory owner=apache group=apache mode=1755 with_items: