- name: Git Clone
# Clone the local repo. Getting to github is tricky.
- file: path="{{ scheduler_code }}" owner="{{ scheduler_user }}" recurse=yes
# What is scheduler_code ? The repo is not getting picked up
TASK: [scheduler | Git Clone] *************************************************
<
ec2-54-162-234-59.compute-1.amazonaws.com> EXEC ssh -C -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/joel/.ansible/cp/%h-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10
ec2-54-162-234-59.compute-1.amazonaws.com /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
stderr: fatal: '/opt/speedgauge/sg_repo' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
msg: fatal: '/opt/speedgauge/sg_repo' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
FATAL: all hosts have already failed -- aborting