--- - hosts: localhost roles: - common - workers #tasks: #- name: Start postgres and es #docker_stack: # name: conductor # state: present # compose: # - "{{ target_path }}/postgres-swarm.yaml" # - "{{ target_path }}/elasticsearch-swarm.yaml" #- name: Waiting for postgres and ES DBs #pause: # seconds: 10 #- name: Start conductor #docker_stack: # name: conductor # state: present # compose: # - "{{ target_path }}/conductor-swarm.yaml"