I have two groups of hosts - app and gateway. Each app talks to 
corresponding gateway. I am upgrading app to a new version serially (4 at a 
time) and restarting it. I would like to restart the corresponding gateway 
after the app is restarted. Can I use handler with include file that 
restarts the gateway on different host? Or is there a better a way to do 
this?

Host: app
serial: 4
roles:
   - upgrade_app
   - restart

Host: gateway
serial: 4
roles:
   - restart

Can the above 4 lines be added in playbook that can be included as handler 
in app playbook?

Thanks,
Suvelee


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/299751f9-91dc-463e-85e4-7b97ae7e7b82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to