staging-sync/db-sync: when are not a valid attribute for plays

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-09-16 11:38:21 +02:00
parent b4ea291fe9
commit 28e5751542

View file

@ -82,7 +82,7 @@
- name: bring staging services up - name: bring staging services up
hosts: "{{ server }}" hosts: "{{ server }}"
user: root user: root
when: server is defined any_errors_fatal: false
vars_files: vars_files:
- /srv/web/infra/ansible/vars/global.yml - /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml" - "/srv/private/ansible/vars.yml"