forked from gCubeSystem/conductor-setup
27 lines
816 B
YAML
27 lines
816 B
YAML
---
|
|
- name: Generate conductor-swarm
|
|
template:
|
|
src: templates/conductor-swarm.yaml.j2
|
|
dest: "{{ target_path }}/conductor-swarm.yaml"
|
|
|
|
- name: Generate conductor config from dynomite seeds
|
|
when: not use_jdbc
|
|
vars:
|
|
seeds: "{{ lookup('file', '{{ target_path}}/seeds.list').splitlines() }}"
|
|
template:
|
|
src: "templates/{{ conductor_config_template }}"
|
|
dest: "{{ target_path }}/{{ conductor_config }}"
|
|
|
|
- name: Generate conductor config for JDBC DB
|
|
when: use_jdbc
|
|
template:
|
|
src: "templates/{{ conductor_config_template }}"
|
|
dest: "{{ target_path }}/{{ conductor_config }}"
|
|
|
|
- name: Copy conductor SQL schema init for JDBC DB
|
|
when: use_jdbc and init_db
|
|
template:
|
|
src: "templates/conductor-db-init-{{ conductor_db }}.sql.j2"
|
|
dest: "{{ target_path }}/conductor-db-init.sql"
|
|
|