Support customizing skydive.conf file

Provides mechanism to deploy custom skydive.conf files.

Change-Id: I3033b6268a2e955f3e86b1b7000db17c1bb18c47
This commit is contained in:
Erol Guzoğlu 2020-06-02 16:21:03 +03:00 committed by Radosław Piliszek
parent 688f839f1e
commit cb0715a04d
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``.