conductor-setup/roles/conductor/tasks/main.yaml

18 lines
550 B
YAML
Raw Normal View History

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-05-18 15:10:08 +02:00
- name: Generate local auth config
when: conductor_auth is defined
template:
2021-05-18 15:10:08 +02:00
src: "templates/{{ conductor_auth }}_auth.cfg.j2"
dest: "{{ target_path }}/auth.cfg"
- name: Generate conductor config for JDBC DB
when: conductor_db is not defined or conductor_db != 'dynomite'
template:
src: "templates/{{ conductor_config_template }}"
dest: "{{ target_path }}/{{ conductor_config }}"