Using ansible 1.9.4, the git checkout task below was working for me up 
until a few days ago:

- name: "Update from git repo"
  git:
    repo: "[email protected]:mine/foo.git"
    dest: "/some/path"
    version: "dev"
    accept_hostkey: yes
    key_file: "/some/path/.ssh/id_rsa"


Now, all of a sudden it is failing:

failed: [domain.edu] => {"failed": true}

msg: Failed to checkout branch dev


FATAL: all hosts have already failed -- aborting


Clearly something has changed but I'm not sure what. However, the error is 
so vague I've got no clue how to debug. And when I run my playbook with 
-vvvv I still don't get anything useful.


The branch name has not changed, and as root on the host, I can "git pull" 
just fine. And if I do update it manually, ansible still can't get past 
this task. I do notice that verbose output seems to report the repo var as 
empty:


REMOTE_MODULE git version=dev key_file=/var/www/.ssh/id_rsa 
dest=/opt/portal repo=


Even though it's not. Is there any other way to get useful troubleshooting 
info here? Clues?


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/be9d39ae-8b92-44d8-81c2-b81cf72bb581%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to