Merge "Use merge_configs for gnocchi-api-paste.ini file"

This commit is contained in:
Jenkins 2016-09-28 06:17:31 +00:00 committed by Gerrit Code Review
commit 205c0699c8

View File

@ -18,12 +18,13 @@
- "gnocchi-metricd"
- "gnocchi-statsd"
- name: Copying over api-paste.ini files for services
template:
src: "gnocchi-api-paste.ini.j2"
dest: "{{ node_config_directory }}/{{ item }}/gnocchi-api-paste.ini"
with_items:
- "gnocchi-api"
- name: Copying over gnocchi-api-paste.ini
merge_configs:
sources:
- "{{ role_path }}/templates/gnocchi-api-paste.ini.j2"
- "{{ node_custom_config }}/gnocchi/gnocchi-api-paste.ini"
- "{{ node_custom_config }}/gnocchi/{{ inventory_hostname }}/gnocchi-api-paste.ini"
dest: "{{ node_config_directory }}/gnocchi-api/gnocchi-api-paste.ini"
- name: Copying over gnocchi.conf
merge_configs: