Skip to content
Snippets Groups Projects
Commit 30d95490 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Use proper variable in horizon copy policy task"

parents f5d06eb9 6022b611
No related branches found
No related tags found
No related merge requests found
......@@ -88,8 +88,8 @@
vars:
horizon: "{{ horizon_services['horizon'] }}"
template:
src: "{{ node_custom_config }}/horizon/{{ item[0]['name'] }}_policy.json"
dest: "{{ node_config_directory }}/horizon/{{ item[0]['name'] }}_policy.json"
src: "{{ node_custom_config }}/horizon/{{ item.item.name }}_policy.json"
dest: "{{ node_config_directory }}/horizon/{{ item.item.name }}_policy.json"
register: policy_jsons
when:
- horizon.enabled | bool
......@@ -97,6 +97,8 @@
- item.item.enabled | bool
- item.stat.exists
with_items: "{{ custom_policy.results }}"
notify:
- Restart horizon container
- name: Check horizon container
vars:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment