Merge "Support customizing skydive.conf file"

This commit is contained in:
Zuul 2020-06-10 10:37:18 +00:00 committed by Gerrit Code Review
commit 4d84df8d7c
2 changed files with 10 additions and 2 deletions

View File

@ -30,8 +30,12 @@
- Restart {{ item.key }} container
- name: Copying over skydive config file
template:
src: "{{ item.key }}.conf.j2"
merge_yaml:
sources:
- "{{ role_path }}/templates/{{ item.key }}.conf.j2"
- "{{ node_custom_config }}/skydive.conf"
- "{{ node_custom_config }}/skydive/{{ item.key }}.conf"
- "{{ node_custom_config }}/skydive/{{ inventory_hostname }}/{{ item.key }}.conf"
dest: "{{ node_config_directory }}/{{ item.key }}/skydive.conf"
mode: "0660"
become: true

View File

@ -0,0 +1,4 @@
---
features:
- |
Adds a mechanism to customize ``skydive.conf``.