Hi I'm attmepting to clone from a vsts git repository (ssh://********/_git/ClouderaAutomation) but ansible seems to just hang when I try. Below is a snippet of the git module being used.
name: Clone git repo.
git:
repo: "{{ repoToClone }}"
dest: "/home/vagrant/ClouderaAutomation"
accept_hostkey: yes
clone: yes
become: yes
repoToClone is ssh://********/_git/ClouderaAutomation. When i execute 'git clone' cmd directly on the remote servers it clones the repository without issue. However when I attempt to clone via ansible it just hangs with no error, here is the last line of the -vvv logs:
<192.168.33.30> SSH: EXEC sshpass -d15 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/9a3517bddd -tt 192.168.33.30 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-lugffujkolhidvafudbyhootlistpyyf; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1494346256.28-165153189526831/git.py; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1494346256.28-165153189526831/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''