2020-10-28 09:38:31 +01:00
|
|
|
---
|
2020-10-29 13:37:52 +01:00
|
|
|
- hosts: localhost
|
|
|
|
roles:
|
|
|
|
- common
|
2020-11-04 16:52:28 +01:00
|
|
|
- postgres
|
2020-10-29 13:37:52 +01:00
|
|
|
- elasticsearch
|
2020-11-04 16:52:28 +01:00
|
|
|
- conductor
|
2020-10-29 13:37:52 +01:00
|
|
|
tasks:
|
2020-11-04 16:52:28 +01:00
|
|
|
- name: Start postgres and es
|
2020-10-29 13:37:52 +01:00
|
|
|
docker_stack:
|
|
|
|
name: conductor
|
|
|
|
state: present
|
|
|
|
compose:
|
2020-11-04 16:52:28 +01:00
|
|
|
- "{{ target_path }}/postgres-swarm.yaml"
|
2020-10-29 13:37:52 +01:00
|
|
|
- "{{ target_path }}/elasticsearch-swarm.yaml"
|
2020-11-06 14:30:06 +01:00
|
|
|
- name: Waiting for postgres and es DBs
|
2020-11-04 16:52:28 +01:00
|
|
|
pause:
|
|
|
|
seconds: 10
|
2020-10-28 09:38:31 +01:00
|
|
|
|
|
|
|
- name: Start conductor
|
|
|
|
docker_stack:
|
|
|
|
name: conductor
|
|
|
|
state: present
|
|
|
|
compose:
|
|
|
|
- "{{ target_path }}/conductor-swarm.yaml"
|