Re: [ansible-project] Re: run multiple tasks in parallel for multiple hosts

2014-01-14 Thread Michael DeHaan
Ansible is designed to work this way intentionally as it's quite useful for inter-machine orchestration and extremely useful for fine grained control when we want to do things like work with load balancers. You might possibly want to consider invoking ansible-pull (or just ansible in local mode) f

[ansible-project] Re: run multiple tasks in parallel for multiple hosts

2014-01-13 Thread Tao Fan
Hi Mark, Thanks for the reply. I am aware of the async action but this is not what I am looking for. async kicks off task, but still blocks other tasks before all hosts have finished that particular task. Fire and forget is not an option for me either. What I am looking for is that when host 1

[ansible-project] Re: run multiple tasks in parallel for multiple hosts

2014-01-13 Thread Mark Phillips
Hi, Take a look at asynchronous actions: http://docs.ansible.com/playbooks_async.html On Monday, 13 January 2014 00:13:19 UTC, Tao Fan wrote: > > Hi all, > > I have search around for this but they are all about running one task > concurrently for multiple hosts. What I am trying to get is runni