fixed condition on dry

pull/2/head
dcore94 2 years ago
parent 116fbc95c2
commit c4d55e2e1a
  1. 10
      site.yaml

@ -18,12 +18,12 @@
compose:
- "{{ target_path }}/{{ db|default('postgres', true) }}-swarm.yaml"
- "{{ target_path }}/elasticsearch-swarm.yaml"
when: dry is not defined or dry|bool
when: dry is not defined or not dry|bool
- name: Waiting for databases
pause:
seconds: 10
when: dry is not defined or dry|bool
when: dry is not defined or not dry|bool
- name: Start conductor
docker_stack:
@ -31,7 +31,7 @@
state: present
compose:
- "{{ target_path }}/conductor-swarm.yaml"
when: dry is not defined or dry|bool
when: dry is not defined or not dry|bool
- name: Start haproxy
docker_stack:
@ -40,7 +40,7 @@
compose:
- "{{ target_path }}/haproxy-swarm.yaml"
when:
- dry is not defined or dry|bool
- dry is not defined or not dry|bool
- cluster_replacement is defined
- cluster_replacement|bool
@ -51,6 +51,6 @@
compose:
- "{{ target_path }}/conductor-workers-swarm.yaml"
when:
- dry is not defined or dry|bool
- dry is not defined or not dry|bool
- no_workers is not defined or not no_workers|bool

Loading…
Cancel
Save