0d28b311eb
Change-Id: I7134bffab940ee780e5f5010d639af56f97b41d6 Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com> Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Co-Authored-By: Antoni Segura Puimedon <antonisp@celebdor.com> Partially-implements: bp kuryr-docker-plugin
26 lines
613 B
YAML
26 lines
613 B
YAML
---
|
|
- name: Ensuring config directories exist
|
|
file:
|
|
path: "{{ node_config_directory }}/{{ item }}"
|
|
state: "directory"
|
|
recurse: yes
|
|
with_items:
|
|
- "kuryr"
|
|
|
|
- name: Copying over config.json files for services
|
|
template:
|
|
src: "{{ item }}.json.j2"
|
|
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
|
with_items:
|
|
- "kuryr"
|
|
|
|
- name: Copying over kuryr.conf
|
|
template:
|
|
src: "kuryr.conf.j2"
|
|
dest: "{{ node_config_directory }}/kuryr/kuryr.conf"
|
|
|
|
- name: Copying over kuryr.spec
|
|
template:
|
|
src: "kuryr.spec.j2"
|
|
dest: "{{ node_config_directory }}/kuryr/kuryr.spec"
|