I have 8 servers as(s1,s2,s3...)which are windows servers and an ansible-playbook with tasks in roles. How do I configure host inventory and execute all these tasks in s1 then in s2 then in S3...sequentially that is the execution of the playbook in series of servers sequentially. I came across some terminology called serial but not sure on implementation The deployment will be carried using Jenkins. Any suggestions would be helpful Thanks in advance
To do a set of roles to completion on one host at a time, set
serial: 1 on plays. These batch sizes can be numbers or percentages.
By default hosts are run in the order they appear in inventory, which would be
order: inventory on the play. Or, you can use alphanumeric collation order with