git pulled the latest code $ git rev-parse HEAD f1fdddb640e1dfcd8fdc930031db267947d8cb70
and now the following play hangs - name: package upgrade (apt) apt: upgrade=dist sudo: yes All computers have minimal load. Logs on the remote computer show: ansible-apt: Invoked with dpkg_options=force-confdef,force-confold upgrade=None force=False package=None purge=False state=present update_cache=True default_release=None cache_valid_time=3600 deb=None install_recommends=True The computer running ansible shows: <www.X.com> ESTABLISH CONNECTION FOR USER: ansible-user on PORT 22 TO www.X.com <www.X.com> REMOTE_MODULE apt upgrade=dist <www.X.com> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1421171817.66-121308835316644 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1421171817.66-121308835316644 && echo $HOME/.ansible/tmp/ansible-tmp-1421171817.66-121308835316644' <www.X.com> PUT /var/folders/d_/bm7rvz154jb_2djkqybb503h0000gn/T/tmpgwRxMi TO /home/ansible-user/.ansible/tmp/ansible-tmp-1421171817.66-121308835316644/apt <www.Xl.com> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=XXXXXX] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-XXXXXXX; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/ansible-user/.ansible/tmp/ansible-tmp-1421171817.66-121308835316644/apt; rm -rf /home/rte/.ansible/tmp/ansible-tmp-1421171817.66-121308835316644/ >/dev/null 2>&1'"'"'' What is odd is the remote computer does not show python running or ssh connections so I think the command had completed on the remote host and it's ansible computer that is hung or slow waiting to process things. Here is what I see on the ansible host for a process list 501 82141 31032 0 12:05PM ttys004 0:00.80 python ansible-playbook --ask-pass --ask-sudo -i customers/XXXX.com linux-servers.yml --tags apt 501 82151 82141 0 12:06PM ttys004 0:00.04 python ansible-playbook --ask-pass --ask-sudo -i customers/XXXX.com linux-servers.yml --tags apt * 501 82154 82141 0 12:06PM ttys004 0:09.39 python ansible-playbook --ask-pass --ask-sudo -i customers/XXXX.com linux-servers.yml --tags apt* 501 82155 82141 0 12:06PM ttys004 0:00.00 (python) 501 82156 82141 0 12:06PM ttys004 0:00.00 (python) PID *82154* continues to tick CPU time so I do not think it's hung. I've rebooted the www.X.com host and still the ansible control computer hangs on this play. I'm looking for tips on how to debug this problem. Thanks. -- 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/5b1f6ea6-acac-47e0-9b60-7e56289dd71e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
