Just an update at Michael's request - seeing the exact same situations, with ec2.
Setting this environment variable fixes this. On Thursday, 12 September 2013 15:34:33 UTC-7, Michael Blakeley wrote: > > On Thursday, September 12, 2013 3:21:23 PM UTC-7, James Cammarata wrote: >> >> I believe the initial iteration through the hosts is single-threaded, as >> that occurs before the forks are created, however can you demonstrate that >> your configuration is causing single-threaded behavior after the forks are >> running? >> > > Yes, I think so. I observe single-threading for every command throughout > long playbooks. Setting ANSIBLE_HOST_KEY_CHECKING=no resolves that. > > Does the output from this single command help? > > $ ansible -i ec2.py tag_Name_test -f 9 -a date > ec2-54-200-43-114.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:33 UTC 2013 > ec2-54-200-40-223.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:35 UTC 2013 > ec2-54-200-33-219.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:36 UTC 2013 > ec2-54-200-40-249.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:38 UTC 2013 > ec2-54-200-43-44.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:40 UTC 2013 > ec2-54-200-43-42.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:42 UTC 2013 > ec2-54-200-40-224.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:41 UTC 2013 > ec2-54-200-42-181.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:43 UTC 2013 > ec2-54-200-42-164.us-west-2.compute.amazonaws.com | success | rc=0 >> > Thu Sep 12 21:23:44 UTC 2013 > > With ANSIBLE_HOST_KEY_CHECKING=no, the results return much more quickly > and all nine hosts display the same time (within 1-2 sec anyway). > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a828f04b-369e-4b75-acb2-522903aadbe0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
