2020-10-27 15:46:46 +01:00
|
|
|
---
|
|
|
|
- name: Generate conductor-swarm
|
|
|
|
template:
|
|
|
|
src: templates/conductor-swarm.yaml.j2
|
|
|
|
dest: "{{ target_path }}/conductor-swarm.yaml"
|
|
|
|
|
2021-02-23 09:42:26 +01:00
|
|
|
- name: Generate auth config
|
|
|
|
template:
|
|
|
|
src: templates/auth.cfg.j2
|
|
|
|
dest: "{{ target_path }}/auth.cfg"
|
|
|
|
|
2020-11-04 16:52:28 +01:00
|
|
|
- name: Generate conductor config from dynomite seeds
|
2020-11-19 20:51:53 +01:00
|
|
|
when: conductor_db is defined and conductor_db == 'dynomite'
|
2020-10-29 14:09:57 +01:00
|
|
|
vars:
|
|
|
|
seeds: "{{ lookup('file', '{{ target_path}}/seeds.list').splitlines() }}"
|
2020-10-29 13:37:52 +01:00
|
|
|
template:
|
|
|
|
src: "templates/{{ conductor_config_template }}"
|
2020-10-27 15:46:46 +01:00
|
|
|
dest: "{{ target_path }}/{{ conductor_config }}"
|
2020-11-04 16:52:28 +01:00
|
|
|
|
2020-11-06 14:30:06 +01:00
|
|
|
- name: Generate conductor config for JDBC DB
|
2020-11-19 20:51:53 +01:00
|
|
|
when: conductor_db is not defined or conductor_db != 'dynomite'
|
2020-11-04 16:52:28 +01:00
|
|
|
template:
|
|
|
|
src: "templates/{{ conductor_config_template }}"
|
|
|
|
dest: "{{ target_path }}/{{ conductor_config }}"
|
|
|
|
|
2020-11-06 14:30:06 +01:00
|
|
|
- name: Copy conductor SQL schema init for JDBC DB
|
2020-11-19 20:51:53 +01:00
|
|
|
when: (conductor_db is not defined or conductor_db != 'dynomite') and init_db
|
2020-11-04 16:52:28 +01:00
|
|
|
template:
|
2020-11-06 19:15:00 +01:00
|
|
|
src: "templates/conductor-db-init-{{ conductor_db }}.sql.j2"
|
2020-11-04 16:52:28 +01:00
|
|
|
dest: "{{ target_path }}/conductor-db-init.sql"
|
|
|
|
|