AWX has the ability to run multiple jobs in parallel and still record all
log data centrally.

It has a *VERY* good REST API for doing this.

http://www.ansibleworks.com/ansibleworks-awx/

Ansible's CLI doesn't really make sense to have the CLI do this IMHO,
because the output would be a mess with so many different things happening
in parallel, so it does one play at a time normally.




On Wed, Jan 22, 2014 at 5:26 PM, Jesse Keating <[email protected]>wrote:

> Here's a fun scenario.
>
> Our inventory is divided up into multiple environments, that is when we
> execute our inventory plugin, we provide an ENV_NAME environment variable
> to tell the plugin which environment to load.
>
> Within each environment there are a number of logical groupings, we'll
> call these "cells". Each environment has 1 or more cell, and they get added
> semi-frequently so there isn't necessarily a hard coded list of them
> (although it is discoverable at run-time). My inventory plugin creates a
> group for each of those cells, that has other child-groups within.
>
> My need is to run a couple tasks. A torrent task and a stop torrent task.
> These tasks need to run in parallel within the cell, but serially through
> the list of cells. That is I have to torrent and then stop torrenting in
> cell1 before doing anything in cell2, and then cell3, etc...
>
> I'm looking for ways to express this in a playbook and falling short. I
> know I could use a shell script to loop over calling ansible-playbook
> providing a different --limit value each time but that feels inelegant.
>
> So I ask you, fellow Ansible users, do you have any ideas?
>
> -jlk
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Michael DeHaan <[email protected]>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to