From 141dbc8f14d363f3df58577155ea99a95a01f9e1 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Fri, 28 Jul 2017 13:05:33 +0200 Subject: [PATCH] Fixes horizon reconfigure for adding custom *_policy.json files Change-Id: I2d9fca7d4272c69c75b106ac4cea244a371d3b5f Closes-bug: #1707163 --- ansible/roles/horizon/templates/horizon.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/horizon/templates/horizon.json.j2 b/ansible/roles/horizon/templates/horizon.json.j2 index 0820cf5520..b50b0a0877 100644 --- a/ansible/roles/horizon/templates/horizon.json.j2 +++ b/ansible/roles/horizon/templates/horizon.json.j2 @@ -38,7 +38,7 @@ }, {% for service, enabled in services if enabled | bool %} { - "source": "{{ container_config_directory }}/horizon/{{ service }}_policy.json", + "source": "{{ container_config_directory }}/{{ service }}_policy.json", "dest": "/etc/openstack-dashboard/{{ service }}_policy.json", "owner": "horizon", "perm": "0600",