Have this play hang now too.

- name: package update (apt)
  apt: update_cache=yes cache_valid_time=3600
  sudo: yes
  always_run: yes

Verbose run shows this on multiple hosts:

<host.domain.com> ESTABLISH CONNECTION FOR USER: ansible-user on PORT 22 TO 
host.domain.com

<host.domain.com> REMOTE_MODULE apt update_cache=yes cache_valid_time=3600

<host.domain.com> EXEC /bin/sh -c 'mkdir -p 
$HOME/.ansible/tmp/ansible-tmp-1421180023.91-7480599726320 && chmod a+rx 
$HOME/.ansible/tmp/ansible-tmp-1421180023.91-7480599726320 && echo 
$HOME/.ansible/tmp/ansible-tmp-1421180023.91-7480599726320'

<host.domain.com> PUT 
/var/folders/d_/bm7rvz154jb_2djkqybb503h0000gn/T/tmpGH6ekd TO 
/home/ansible-user/.ansible/tmp/ansible-tmp-1421180023.91-7480599726320/apt

<host.domain.com> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via 
ansible, key=X] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-X; 
LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python 
/home/ansible-user/.ansible/tmp/ansible-tmp-1421180023.91-7480599726320/apt; 
rm -rf 
/home/ansible-user/.ansible/tmp/ansible-tmp-1421180023.91-7480599726320/ 
>/dev/null 2>&1'"'"''


Then is just hangs. 

-- 
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/5e1085fc-9c88-491c-9912-f17b99b7dd39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to