summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2016-03-21 19:43:26 +0000
committerLuke Macken <lmacken@redhat.com>2016-03-21 19:43:26 +0000
commit9889ac7446a8de92019cc3b5f39893b1d91a20a7 (patch)
tree873d3ba249d71223f4ede7597085c48ddcf0fefb
parent94608f070d2f61bf518ab27cec2e2ef0cc29f964 (diff)
downloadansible-9889ac7446a8de92019cc3b5f39893b1d91a20a7.zip
ansible-9889ac7446a8de92019cc3b5f39893b1d91a20a7.tar.gz
ansible-9889ac7446a8de92019cc3b5f39893b1d91a20a7.tar.xz
bodhi: Have apache own /mnt/koji/mash/{atomic,updates}
-rw-r--r--roles/bodhi2/backend/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml
index 024b40e..bcdf9b2 100644
--- a/roles/bodhi2/backend/tasks/main.yml
+++ b/roles/bodhi2/backend/tasks/main.yml
@@ -377,3 +377,13 @@
service: name=httpd enabled=no state=stopped
tags:
- bodhi
+
+- name: have apache own /mnt/koji/mash/updates
+ file: path=/mnt/koji/mash/updates state=directory recurse=yes owner=apache group=apache
+ tags:
+ - bodhi
+
+- name: have apache own /mnt/koji/mash/atomic
+ file: path=/mnt/koji/mash/atomic state=directory recurse=yes owner=apache group=apache
+ tags:
+ - bodhi