--- - 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_postgres 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 postgres DB when: use_postgres template: src: "templates/{{ conductor_config_template }}" dest: "{{ target_path }}/{{ conductor_config }}" - name: Copy conductor SQL schema init for postgres DB when: use_postgres and init_db template: src: "templates/conductor-db-init-postgres.sql" dest: "{{ target_path }}/conductor-db-init.sql"