summaryrefslogtreecommitdiffstats
path: root/roles/fedmsg/hub
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2014-07-17 19:11:02 +0000
committerRalph Bean <rbean@redhat.com>2014-07-17 19:11:10 +0000
commit4392717e7caeb56711e0acd3d2caa34445aece31 (patch)
tree54f51e40d163ed6c5270daf643d3bf45a8d45a1e /roles/fedmsg/hub
parentd4d7bb25e5470e789d69f35f1a454f53ad19734e (diff)
downloadansible-4392717e7caeb56711e0acd3d2caa34445aece31.tar.gz
ansible-4392717e7caeb56711e0acd3d2caa34445aece31.tar.xz
ansible-4392717e7caeb56711e0acd3d2caa34445aece31.zip
Try setting permissions on the monitoring socket for fedmsg-hub.
Diffstat (limited to 'roles/fedmsg/hub')
-rw-r--r--roles/fedmsg/hub/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/fedmsg/hub/tasks/main.yml b/roles/fedmsg/hub/tasks/main.yml
index 0fe12aef3..217df0785 100644
--- a/roles/fedmsg/hub/tasks/main.yml
+++ b/roles/fedmsg/hub/tasks/main.yml
@@ -8,6 +8,14 @@
tags:
- packages
+- name: ensure that nrpe has rights to monitor us
+ file: >
+ dest=/var/run/fedmsg/monitoring-fedmsg-hub.socket
+ mode=0775
+ owner=fedmsg
+ group=nrpe
+ state=present
+
- name: fedmsg-hub service
service: name=fedmsg-hub state=started enabled=yes
@@ -20,3 +28,4 @@
file: dest=/etc/fedmsg.d/websockets.py state=absent
when: not enable_websocket_server
notify: restart fedmsg-hub
+