Ansible 1.9.0.1 -  I've run into some odd behavior.    Running these two 
tasks back to back, the first async did nothing, exited pretty quickly, 
while the second yum actually installed the RPMS.

I've observed many times yum + async + with_items fails to detect failures 
in the RPM installation process (or just doesn't do it).  I have found that 
if I don't do async, the update from RHN, or other things, will cause it to 
exceed the ssh timeout, and cause ssh connection failures to be reported 
back... so I'm left with running both?   Might try to do it without the 
with_items and see if it alleviates the issue..?


  - yum: name="{{ item }}" state=present
    with_items:
      - packagea
      - packageb
      - packagec
      - packaged
    async: 600

  
  -  yum: name="{{ item }}" state=present
    with_items:
      - packagea
      - packageb
      - packagec
      - packaged

I've observed this back with 1.8.x too, but is really burning my britches 
at this point, especially when a later task fails because a dependency 
didn't get installed.


-- 
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/6a144867-b9b2-4e20-ba66-68dcb80cb95c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to