aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/searchlight/tasks/config.yml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-14 17:24:15 +0000
committerGerrit Code Review <review@openstack.org>2016-11-14 17:24:15 +0000
commit31e3b3e45d52c34c6b53fd15b72e157e2285e6bc (patch)
tree941adee1fddc344959d285bd09c981e4d07fc864 /ansible/roles/searchlight/tasks/config.yml
parent2f0d4ccee32df4999e0b50a327a9df2c2ac55971 (diff)
parentc04585b7f3bb9abd5e9b0b8cd9b5657a4093ceb9 (diff)
downloadkolla-31e3b3e45d52c34c6b53fd15b72e157e2285e6bc.tar.gz
kolla-31e3b3e45d52c34c6b53fd15b72e157e2285e6bc.zip
Merge "Fix placement of policy.json"
Diffstat (limited to 'ansible/roles/searchlight/tasks/config.yml')
-rw-r--r--ansible/roles/searchlight/tasks/config.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/roles/searchlight/tasks/config.yml b/ansible/roles/searchlight/tasks/config.yml
index 4237b6bdd..1bec9a7ac 100644
--- a/ansible/roles/searchlight/tasks/config.yml
+++ b/ansible/roles/searchlight/tasks/config.yml
@@ -38,6 +38,9 @@
- name: Copying over existing policy.json
template:
src: "{{ node_custom_config }}/searchlight/policy.json"
- dest: "{{ node_config_directory }}/searchlight/policy.json"
+ dest: "{{ node_config_directory }}/{{ item }}/policy.json"
+ with_items:
+ - "searchlight-api"
+ - "searchlight-listener"
when:
searchlight_policy.stat.exists