aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/sahara/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/sahara/tasks')
-rw-r--r--ansible/roles/sahara/tasks/config.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/roles/sahara/tasks/config.yml b/ansible/roles/sahara/tasks/config.yml
index a83df50ca..59cda5314 100644
--- a/ansible/roles/sahara/tasks/config.yml
+++ b/ansible/roles/sahara/tasks/config.yml
@@ -40,6 +40,9 @@
- name: Copying over existing policy.json
template:
src: "{{ node_custom_config }}/sahara/policy.json"
- dest: "{{ node_config_directory }}/sahara/policy.json"
+ dest: "{{ node_config_directory }}/{{ item }}/policy.json"
+ with_items:
+ - "sahara-api"
+ - "sahara-engine"
when:
sahara_policy.stat.exists