--- - name: Generate conductor-swarm template: src: templates/conductor-swarm.yaml.j2 dest: "{{ target_path }}/conductor-swarm.yaml" - name: Generate local auth config when: conductor_auth is defined template: 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 }}"