On 12/11/2013 09:25 AM, Cristian Necula wrote:
Hello,
I am pretty new to ansible. I have used it for a week and succesfully
created some playbooks for orchestrating my server.
I have run into an issue using the git module. I have a playbook that
clones a private repo. It works great for the master and dev branches,
but it hangs when i specify version=release/1.2 or version=<SHA-ID>.
I have tried debugging this using ansible-playbook -vvvv with no success.
Can anyone offer some tips?
--
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].
For more options, visit https://groups.google.com/groups/opt_out.
Tell ansible to keep the remote script and then use use python -m trace
to walk through it ...
ANSIBLE_KEEP_REMOTE_FILES=1 ansible-playbook -vvvv
# grab the remote filename ansible creates
# ssh to the remote host
python -m trace --trace <module-file-path>
Example:
$ python -m trace --trace
/home/jtanner/.ansible/tmp/ansible-1387469069.32-4132751518012/command
2>&1 | head
--- modulename: command, funcname: <module>
command(21): import sys
command(22): import datetime
command(23): import traceback
command(24): import re
command(25): import shlex
--- modulename: shlex, funcname: <module>
shlex.py(2): """A lexical analyzer class for simple shell-like syntaxes."""
shlex.py(10): import os.path
shlex.py(11): import sys
--
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].
For more options, visit https://groups.google.com/groups/opt_out.