Hello Michael,
This is using 1.7 git.
The output is as follows:
PLAY [work] *******************************************************************
GATHERING FACTS ***************************************************************
ESTABLISH CONNECTION FOR USER: root
REMOTE_MODULE setup
EXEC [‘ssh’, ‘-C’, ‘-vvv’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘-o’, ‘ControlPath=/Users/eduardr/.ansible/cp/ansible-ssh-%h-%p-%r’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘User=root’, ‘-o’, ‘ConnectTimeout=10’, ‘work1’, u"/bin/sh -c ‘LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python’"]
ok: [work1]
TASK: [basic | software directory create] *************************************
ESTABLISH CONNECTION FOR USER: root
REMOTE_MODULE file path=/srv/software owner=‘root’ group=‘root’ mode=0755 state=‘directory’
EXEC [‘ssh’, ‘-C’, ‘-vvv’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘-o’, ‘ControlPath=/Users/eduardr/.ansible/cp/ansible-ssh-%h-%p-%r’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘User=root’, ‘-o’, ‘ConnectTimeout=10’, ‘work1’, u"/bin/sh -c ‘LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python’"]
ok: [work1] => {“changed”: false, “gid”: 0, “group”: “root”, “item”: “”, “mode”: “0755”, “owner”: “root”, “path”: “/srv/software”, “size”: 4096, “state”: “directory”, “uid”: 0}
TASK: [basic | package find name of latest version] ***************************
repo1:12022 ESTABLISH CONNECTION FOR USER: root
repo1:12022 REMOTE_MODULE command find . -name “ansible-[0-9]" -print | sort | tail -1 | sed 's,/,’ chdir=/srv/software/slackware/14.1 #USE_SHELL
repo1:12022 EXEC [‘ssh’, ‘-C’, ‘-vvv’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘-o’, ‘ControlPath=/Users/eduardr/.ansible/cp/ansible-ssh-%h-%p-%r’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘User=root’, ‘-o’, ‘ConnectTimeout=10’, ‘-6’, ‘repo1:12022’, u”/bin/sh -c ‘LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python’"]
fatal: [work1] => SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh
FATAL: all hosts have already failed – aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/eduardr/site.yaml.retry
work1 : ok=2 changed=0 unreachable=1 failed=0
Thanks,
–Ed