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