From feae41df5e71674ae89c81cf1050e7e7c889a7f9 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 19 Aug 2015 22:35:21 +0000 Subject: [PATCH] Make masher own /var/cache/bodhi. --- roles/bodhi2/backend/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index f17ddc8ca8..4c7a331900 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -265,6 +265,16 @@ - config - bodhi +- name: have the masher own /var/cache/bodhi because of course.. + file: > + path="/var/cache/bodhi" + owner=masher + group=masher + when: inventory_hostname.startswith('bodhi-backend') + tags: + - config + - bodhi + - name: ensure that nrpe has rights to monitor us (dir) file: > dest=/var/run/fedmsg