Closed Jean-Baptiste-Lasselle closed 3 years ago
Hey @Jean-Baptiste-Lasselle , thanks for the great write up of your issue. I think that I understand the issue, however, I am not sure that I can help too much as I haven't really used this in a similar way. I will leave this issue open for the future to see whether I can fix it or do some testing.
I am going to close this, not sure what I can do and I can't reproduce bug.
hi again @willhallonline ,
willhallonline/ansible:2.8-centos
imageansible
playbook, into the container, to execute it./path/to/my/secrets/.ssh
, where/path/
is a folder that does not exist in thecentos
filesystem layout. So I just create it, and put away my keypair into it.GIT_SSH_COMMAND
to specify to git clone command, where the private key is.export GIT_SSH_COMMAND='ssh -i /path/to/my/secrets/.ssh/my_private_key_file'
.export GIT_SSH_COMMAND='ssh -i~/.ssh/id_rsa'
,ssh -Tvvvai /path/to/my/secrets/.ssh/my_private_key_file git@gitlab.com
always succeeds (no SSH problem)git clone $SSH_URI_TO_MY_REPO
will always fail 'permission denied',git clone
still fails even if I :Don't hesitate asking me any additional infos,
And thank you for your work.
ps: worth mentioning, I don't use at all this repo, I just docker pull
willhallonline/ansible:2.8-centos
, and build my own image, FROM yours.