title: Ansible - How to sequentially execute playbook for each host
body: <p>I am using ansible to script a deployment for an API.  I would like this to work sequentially through each host in my inventory file so that I can fully deploy to one machine at a time.</p>
  
  <p>With the out box behaviour, each task in my playbook is executed for each host in the inventory file before moving on to the next task.</p>
  
  <p>How can I change this behaviour to execute all tasks for a host before starting on the next host? Ideally I would like to only have one playbook.</p>
  
  <p>Thanks</p>