Hi I'm running a deployment that consists of different plays, some of which are already written that I would like to reuse. There's about one one play for each stage:
1) Remove server from cluster 2) Shut down the server 3) Provision a new server to replace it When running, I need each set of plays to run on one server at a time, so setting 'serial' on the play level isn't enough. I know I can run another ansible-playbook instance with the command module, but then I wouldn't see the progress for each play. I guess I can copy-paste my existing playbooks and play with delegate_to to achieve what I want, but that feels wrong. What I'm doing currently is splitting my playbook run to several pieces and gluing them with bash, looping when necessary on a single playbook. It feels like Ansible doesn't support this use case well currently. Is there a better way to solve that than using bash? Are there features in the pipeline to help with this case? Thanks a lot! -- 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/6ca04c35-9acf-4386-8bbb-94315e3a2c5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
