diff --git a/ansible/roles/horizon/tasks/config.yml b/ansible/roles/horizon/tasks/config.yml
index 008d85a77ef4761989f2bbd2753a974c53dd0e0d..326dec472b4489d52f866ee949d0b9dba9d8e59b 100644
--- a/ansible/roles/horizon/tasks/config.yml
+++ b/ansible/roles/horizon/tasks/config.yml
@@ -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: