Hello,
I am trying to clone a github public repo to my CentOs and it doesn't work.
it doesn't fail as well, just do not clone....
the main.yml of the relevant role is
---
- name: clone git
git:
repo=https://github.com/test/myRepo.git
dest=/tmp/AAA
What I get is this:
PLAY [stations]
***************************************************************
GATHERING FACTS
***************************************************************
<dev-tester-3.df.domain.local> ESTABLISH CONNECTION FOR USER: tester
<dev-tester-3.df.domain.local> REMOTE_MODULE setup
<dev-tester-3.df.domain.local> EXEC ssh -C -tt -v -o ControlMaster=auto -o
ControlPersist=60s -o ControlPath=
"/workspace/TEST/tester/.ansible/cp/ansible-ssh-%h-%p-%r" -o
KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,
gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o
ConnectTimeout=10 dev-tester-3.df.domain.local /bin/sh -c 'mkdir -p
$HOME/.ansible/tmp/ansible-tmp-1446718783.83-66391903529233 && chmod a+rx
$HOME/.ansible/tmp/ansible-tmp-1446718783.83-66391903529233 && echo
$HOME/.ansible/tmp/ansible-tmp-1446718783.83-66391903529233'
<dev-tester-3.df.domain.local> PUT /tmp/tmpKw_j7i TO setup
<dev-tester-3.df.domain.local> EXEC ssh -C -tt -v -o ControlMaster=auto -o
ControlPersist=60s -o ControlPath=
"/workspace/TEST/tester/.ansible/cp/ansible-ssh-%h-%p-%r" -o
KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,
gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o
ConnectTimeout=10 dev-tester-3.df.domain.local /bin/sh -c 'LANG=C
LC_CTYPE=C /usr/bin/python setup'
ok: [dev-tester-3.df.domain.local]
TASK: [setup-station | clone git myRepo if not exists] *******************
<dev-tester-3.df.domain.local> ESTABLISH CONNECTION FOR USER: tester
<dev-tester-3.df.domain.local> REMOTE_MODULE git
repo=https://github.com/myRepo.git
dest=/tmp/AAA clone=yes
<dev-tester-3.df.domain.local> EXEC ssh -C -tt -v -o ControlMaster=auto -o
ControlPersist=60s -o ControlPath=
"/workspace/TEST/tester/.ansible/cp/ansible-ssh-%h-%p-%r" -o
KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,
gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o
ConnectTimeout=10 dev-tester-3.df.domain.local /bin/sh -c 'mkdir -p
$HOME/.ansible/tmp/ansible-tmp-1446718785.6-246781889603948 && chmod a+rx
$HOME/.ansible/tmp/ansible-tmp-1446718785.6-246781889603948 && echo
$HOME/.ansible/tmp/ansible-tmp-1446718785.6-246781889603948'
<dev-tester-3.df.domain.local> PUT /tmp/tmproJNua TO /workspace/TEST/tester
/.ansible/tmp/ansible-tmp-1446718785.6-246781889603948/git
<dev-tester-3.df.domain.local> EXEC ssh -C -tt -v -o ControlMaster=auto -o
ControlPersist=60s -o ControlPath=
"/workspace/TEST/tester/.ansible/cp/ansible-ssh-%h-%p-%r" -o
KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,
gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o
ConnectTimeout=10 dev-tester-3.df.domain.local /bin/sh -c 'LANG=C
LC_CTYPE=C /usr/bin/python
/workspace/TEST/tester/.ansible/tmp/ansible-tmp-1446718785.6-246781889603948/git;
rm -rf
/workspace/TEST/tester/.ansible/tmp/ansible-tmp-1446718785.6-246781889603948/
>/dev/null 2>&1'
ok: [dev-tester-3.df.domain.local] => {"after":
"0c643d2bfda7ebd4ff0f4f871a4bf902fa711569", "before":
"0c643d2bfda7ebd4ff0f4f871a4bf902fa711569", "changed": false}
TASK: [setup-station | debug]
*************************************************
<dev-tester-3.df.domain.local> ESTABLISH CONNECTION FOR USER: tester
ok: [dev-tester-3.df.domain.local] => {
"var": {
"git_output": {
"after": "0c643d2bfda7ebd4ff0f4f871a4bf902fa711569",
"before": "0c643d2bfda7ebd4ff0f4f871a4bf902fa711569",
"changed": false,
"invocation": {
"module_args": "repo=https://github.com/myRepo.git
dest=/tmp/AAA clone=yes",
"module_name": "git"
}
}
}
}
PLAY RECAP
********************************************************************
dev-tester-3.df.domain.local : ok=3 changed=0 unreachable=0 failed=
0
can someone assist?
--
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/07fdcaf1-f633-4173-8ba8-67aa442fe852%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.