Make the check per-host

This commit is contained in:
Michael Simacek 2016-07-25 17:12:11 +02:00
parent 5b790716c9
commit 053e0097d9

View file

@ -121,7 +121,14 @@
roles:
- koschei/backend
- name: Check whether an update happened
- name: Check whether backend update happened
hosts: koschei-backend:koschei-backend-stg
tasks:
- assert:
that: backend_upgrade.changed and frontend_upgrade.changed
that: backend_upgrade.changed
- name: Check whether frontend update happened
hosts: koschei-web:koschei-web-stg
tasks:
- assert:
that: frontend_upgrade.changed