From 8986bd5732b1165c1dee5e4267ffe33d582255ac Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 19 Aug 2015 00:38:51 +0000 Subject: [PATCH] Add the file part of this now. --- roles/bodhi2/backend/tasks/main.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 9edf44c02b..c7f27644bf 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -305,7 +305,7 @@ - config - bodhi -- name: ensure that nrpe has rights to monitor us +- name: ensure that nrpe has rights to monitor us (dir) file: > dest=/var/run/fedmsg mode=0775 @@ -318,3 +318,15 @@ tags: - fedmsgmonitor - bodhi + +- name: ensure that nrpe has rights to monitor us (file) + file: > + dest=/var/run/fedmsg/monitoring-fedmsg-hub.socket + mode=0775 + owner=masher + group=nrpe + state=file + ignore_errors: true + tags: + - fedmsgmonitor + - bodhi