From 75dfd33da29c6884eeeaa30da1575818564af8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kalu=C5=BEa?= Date: Wed, 18 Mar 2020 11:59:26 +0000 Subject: [PATCH] ODCS: Add apache to odcs-server group so it can access /srv/odcs. --- roles/odcs/frontend/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/odcs/frontend/tasks/main.yml b/roles/odcs/frontend/tasks/main.yml index 3613e9ad9d..6dc6fe5f34 100644 --- a/roles/odcs/frontend/tasks/main.yml +++ b/roles/odcs/frontend/tasks/main.yml @@ -15,6 +15,17 @@ - odcs/frontend - selinux +- name: Add apache user to odcs-server group. + user: + name: apache + groups: odcs-server + append: yes + notify: + - reload apache + tags: + - odcs + - odcs/frontend + - name: generate the ODCS Apache config template: src: etc/httpd/conf.d/odcs.conf.j2