aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/cloudkitty
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/cloudkitty
parent2f0d4ccee32df4999e0b50a327a9df2c2ac55971 (diff)
parentc04585b7f3bb9abd5e9b0b8cd9b5657a4093ceb9 (diff)
downloadkolla-31e3b3e45d52c34c6b53fd15b72e157e2285e6bc.tar.gz
kolla-31e3b3e45d52c34c6b53fd15b72e157e2285e6bc.zip
Merge "Fix placement of policy.json"
Diffstat (limited to 'ansible/roles/cloudkitty')
-rw-r--r--ansible/roles/cloudkitty/tasks/config.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/roles/cloudkitty/tasks/config.yml b/ansible/roles/cloudkitty/tasks/config.yml
index ea3d13cbb..d614334ca 100644
--- a/ansible/roles/cloudkitty/tasks/config.yml
+++ b/ansible/roles/cloudkitty/tasks/config.yml
@@ -40,6 +40,9 @@
- name: Copying over existing policy.json
template:
src: "{{ node_custom_config }}/cloudkitty/policy.json"
- dest: "{{ node_config_directory }}/cloudkitty/policy.json"
+ dest: "{{ node_config_directory }}/{{ item }}/policy.json"
+ with_items:
+ - "cloudkitty-api"
+ - "cloudkitty-processor"
when:
cloudkitty_policy.stat.exists