Hello, I have 2 Ansible groups: - nginx_servers. - api_servers.
I am trying to automate following: 1. Select 1 API server. 2. Mark selected API server as down in the all nginx configs. Reload nginx. 3. Restart selected API server. 4. Mark selected API server as up in the all nginx configs. 5. Goto 1. until all API servers are restarted. Should I use Ansible for this? Any suggestions? hints? code samples? -- 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/31974a08-c3af-48ae-887f-2a2e4f6fae73%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
