I am using the serial to limit everytime I can deploy to only one machine at a time, but is it possible to pause say every 10 minutes between each deployment?
end/start the playbook with a pause: action
Sound like a dirty workaround…I only want the pause ONLY if they are between the “serial”, if I run on one node only then I don’t want the pause, is it possible?
Thanks.
What Brian suggests is a great idea and not dirty in the least.
You can easily include tasks or roles in a different playbook if you have some other use case where you don’t wish to pause.
@Bryan, how would that help if I had multiple plays in the playbook, only one (or a few) of which I was doing with “serial”, and between whose iterations I would like to have pauses.
Thanks,
Sankalp