Given a need to launch multiple cloud resources via local action, such as the below, is there a way to parallelize the execution of the task?
I think I’m looking for something like --forks <n>
, except this is different in that there is only one host (localhost) involved in the play.
that is not currently a feature.
Thanks for confirming, Brian.
After more thought, I’ve decided to invoke the rds module with “wait: no” (the default value) and then add a task to poll until all newly spun-up instances are in the “available” state before performing other operations on them.
-Baraa