You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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?