aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/aodh/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/aodh/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/aodh/tasks/config.yml')
-rw-r--r--ansible/roles/aodh/tasks/config.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/ansible/roles/aodh/tasks/config.yml b/ansible/roles/aodh/tasks/config.yml
index 90179933a..971477aec 100644
--- a/ansible/roles/aodh/tasks/config.yml
+++ b/ansible/roles/aodh/tasks/config.yml
@@ -53,6 +53,11 @@
- name: Copying over existing policy.json
template:
src: "{{ node_custom_config }}/aodh/policy.json"
- dest: "{{ node_config_directory }}/aodh/policy.json"
+ dest: "{{ node_config_directory }}/{{ item }}/policy.json"
+ with_items:
+ - "aodh-api"
+ - "aodh-evaluator"
+ - "aodh-listener"
+ - "aodh-notifier"
when:
aodh_policy.stat.exists