# Running tasks in sequence on different hosts

**URL:** <https://forum.ansible.com/t/running-tasks-in-sequence-on-different-hosts/14872>\
**Category:** Ansible Project\
**Created:** [March 27, 2014, 5:32pm UTC](https://forum.ansible.com/t/running-tasks-in-sequence-on-different-hosts/14872 "2014-03-27T17:32:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henning\_Juva](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@Henning\_Juva](https://forum.ansible.com/u/Henning_Juva)\
**Post date:** [March 27, 2014, 5:32pm UTC](https://forum.ansible.com/t/running-tasks-in-sequence-on-different-hosts/14872/1 "2014-03-27T17:32:20Z")

</div>

Hi,

First thanks for a wonderful tool. Best new technology I’ve used since git.

We currently manage about 20 machines using a role based setup described in best practices. So far everything has been easy and intuitive but now I’ve come across a corner case I’m struggling to fit into the model.

I want to setup a number of machines to be members of a cluster. It’s currently a very manual process which requires a number of steps executed in order on different machines with some pauses added in. The old school shell script way would be something along these lines for machines A, B and C. There are maybe 20 steps in total.

B: Create cluster  
C: Create cluster  
sleep 20

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [March 31, 2014, 11:49pm UTC](https://forum.ansible.com/t/running-tasks-in-sequence-on-different-hosts/14872/2 "2014-03-31T23:49:13Z")

</div>

sounds like you want multiple plays in the same file and serial: 1
