summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-21 17:55:54 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-21 17:55:54 +0000
commita89d04c2d149d63c2ad5714425e95d8a1fbf5148 (patch)
tree748ac8755a24f0a25730ec91ba2cd0d95cb23334
parentd2644e54821951763d90ef561d455d0ea8fff48b (diff)
downloaddefinitions-baserock/pedroalvarez/os-kilo-horizon2.tar.gz
Horizon: fix permissions in /var/lib/horizonbaserock/pedroalvarez/os-kilo-horizon2
-rw-r--r--openstack/usr/share/openstack/horizon.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/openstack/usr/share/openstack/horizon.yml b/openstack/usr/share/openstack/horizon.yml
index 14cea5c5..1fec4ab0 100644
--- a/openstack/usr/share/openstack/horizon.yml
+++ b/openstack/usr/share/openstack/horizon.yml
@@ -23,14 +23,13 @@
shell: /sbin/nologin
home: /var/lib/horizon
- - name: Create the /var folders for horizon
+ - name: Fix permissions in /var/lib/horizon
file:
- path: "{{ item }}"
+ path: /var/lib/horizon
state: directory
owner: horizon
group: horizon
- with_items:
- - /var/lib/horizon
+ recurse: yes
- name: Link horizon apache configuration
file: