aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/watcher/tasks/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/watcher/tasks/config.yml')
-rw-r--r--ansible/roles/watcher/tasks/config.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/ansible/roles/watcher/tasks/config.yml b/ansible/roles/watcher/tasks/config.yml
index 9d4ae9f7a..9f32f9398 100644
--- a/ansible/roles/watcher/tasks/config.yml
+++ b/ansible/roles/watcher/tasks/config.yml
@@ -43,6 +43,10 @@
- name: Copying over existing policy.json
template:
src: "{{ node_custom_config }}/watcher/policy.json"
- dest: "{{ node_config_directory }}/watcher/policy.json"
+ dest: "{{ node_config_directory }}/{{ item }}/policy.json"
+ with_items:
+ - "watcher-api"
+ - "watcher-engine"
+ - "watcher-applier"
when:
watcher_policy.stat.exists