bodhi: Create /var/cache/fedmsg and have apache own it

This commit is contained in:
Luke Macken 2016-03-21 20:06:06 +00:00
parent 9889ac7446
commit afbfecbbd7

View file

@ -336,6 +336,17 @@
- config
- bodhi
- name: have the apache own /var/cache/fedmsg because of course..
file: >
path="/var/cache/fedmsg"
owner=apache
group=apache
state=directory
when: inventory_hostname.startswith('bodhi-backend')
tags:
- config
- bodhi
- name: ensure that nrpe has rights to monitor us (dir), including setgid bit.
file: >
dest=/var/run/fedmsg