Hi everyone,
Just started out using Ansible for managing our various hosts / docker containers etc… The only problem i have whilst testing this: all my ad-hoc commands never finish
just a simple ‘ansible office -vvvvv -a “/usr/bin/uptime”’
ESTABLISH CONNECTION FOR USER: root on PORT 22 TO host1
ESTABLISH CONNECTION FOR USER: root on PORT 22 TO host2
ESTABLISH CONNECTION FOR USER: root on PORT 22 TO host3
ESTABLISH CONNECTION FOR USER: root on PORT 22 TO host4
EXEC /bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-1399929485.48-193948231594553 && echo $HOME/.ansible/tmp/ansible-1399929485.48-193948231594553’
EXEC /bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-1399929485.52-91011211544401 && echo $HOME/.ansible/tmp/ansible-1399929485.52-91011211544401’
REMOTE_MODULE command /usr/bin/uptime
REMOTE_MODULE command /usr/bin/uptime
PUT /tmp/tmpqfWmwp TO /root/.ansible/tmp/ansible-1399929485.48-193948231594553/command
EXEC /bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-1399929485.49-54151257537199 && echo $HOME/.ansible/tmp/ansible-1399929485.49-54151257537199’
PUT /tmp/tmplYjZje TO /root/.ansible/tmp/ansible-1399929485.52-91011211544401/command
REMOTE_MODULE command /usr/bin/uptime
PUT /tmp/tmpCAU0Pt TO /root/.ansible/tmp/ansible-1399929485.49-54151257537199/command
EXEC /bin/sh -c ‘/usr/bin/python /root/.ansible/tmp/ansible-1399929485.52-91011211544401/command; rm -rf /root/.ansible/tmp/ansible-1399929485.52-91011211544401/ >/dev/null 2>&1’
EXEC /bin/sh -c ‘/usr/bin/python /root/.ansible/tmp/ansible-1399929485.49-54151257537199/command; rm -rf /root/.ansible/tmp/ansible-1399929485.49-54151257537199/ >/dev/null 2>&1’
EXEC /bin/sh -c ‘/usr/bin/python /root/.ansible/tmp/ansible-1399929485.48-193948231594553/command; rm -rf /root/.ansible/tmp/ansible-1399929485.48-193948231594553/ >/dev/null 2>&1’
EXEC /bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-1399929485.52-98282571951561 && echo $HOME/.ansible/tmp/ansible-1399929485.52-98282571951561’
REMOTE_MODULE command /usr/bin/uptime
PUT /tmp/tmpqfWmwp TO /root/.ansible/tmp/ansible-1399929485.52-98282571951561/command
EXEC /bin/sh -c ‘/usr/bin/python /root/.ansible/tmp/ansible-1399929485.52-98282571951561/command; rm -rf /root/.ansible/tmp/ansible-1399929485.52-98282571951561/ >/dev/null 2>&1’
I’m running ansible 1.4.5 (Ubuntu 10.04 starting point, seen above as host4)
Even running the same command on one of the hosts (doesnt matter which one) just stalls … (even after checking on the destination and verifying that the command was finished… All that remains is the “sshd: root@notty” trace…
Am i doing it wrong?
Thanks!