summaryrefslogtreecommitdiffstats
path: root/roles/statscache
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2015-11-02 15:32:12 +0000
committerRalph Bean <rbean@redhat.com>2015-11-02 15:32:12 +0000
commit41c05108448ed9467e0ec0f3d00f483cc223dcb0 (patch)
treee7ce3e71d790e4c15cd9046a35e06da5f55aecfe /roles/statscache
parent1dcab4bc6c2576c66c91ee667ce32b00850c8f20 (diff)
downloadansible-41c05108448ed9467e0ec0f3d00f483cc223dcb0.tar.gz
ansible-41c05108448ed9467e0ec0f3d00f483cc223dcb0.tar.xz
ansible-41c05108448ed9467e0ec0f3d00f483cc223dcb0.zip
Create dir.
Diffstat (limited to 'roles/statscache')
-rw-r--r--roles/statscache/backend/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/statscache/backend/tasks/main.yml b/roles/statscache/backend/tasks/main.yml
index fa0a4892d..1b2c3d57d 100644
--- a/roles/statscache/backend/tasks/main.yml
+++ b/roles/statscache/backend/tasks/main.yml
@@ -24,6 +24,14 @@
- notifs
- notifs/backend
+- name: ensure we have a dir to copy shared config to.
+ file: >
+ dest=/usr/share/statscache/ state=directory
+ owner=root group=root mode=0755
+ tags:
+ - notifs
+ - notifs/backend
+
- name: copy the alembic configuration for DBAs
template: >
src=alembic.ini dest=/usr/share/statscache/alembic.ini