diff --git a/ansible/roles/ceilometer/tasks/config.yml b/ansible/roles/ceilometer/tasks/config.yml index d6276c3592..52ef3318a4 100644 --- a/ansible/roles/ceilometer/tasks/config.yml +++ b/ansible/roles/ceilometer/tasks/config.yml @@ -91,12 +91,12 @@ - ceilometer-collector merge_configs: sources: - - ../panko/templates/panko.conf.j2 + - "{{ role_path }}/../panko/templates/panko.conf.j2" - "{{ node_custom_config }}/global.conf" - "{{ node_custom_config }}/panko.conf" - "{{ node_custom_config }}/panko/panko.conf" - "{{ node_custom_config }}/panko/{{ inventory_hostname }}/panko.conf" - dest: "{{ node_config_directory }}/panko/panko.conf" + dest: "{{ node_config_directory }}/{{ item.key }}/panko.conf" register: panko_confs when: - ceilometer_event_type == 'panko'