Replies: 1 comment 2 replies
-
Hi @SLedunois I'm sure it is problem with Semaphore behaviour - Semaphore overrides %HOME% env variable to a project directory. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hello,
I just installed Semaphore and I’m using roles/collections that are hosted on a private GitLab, which therefore requires authentication.
When running a task, ansible-galaxy tries to install the dependencies, but it seems the Git credentials are not taken into account.
After some research, I have:
.gitconfig
to point to the.git-credentials
:This works perfectly fine with the following Bash script:
However, it doesn’t work at all when running an Ansible playbook. I always end up with the following log:
Do you have any idea how to fix this, or is this a bug?
Thanks,
SLedunois
Related to
Ansible (task execution)
Beta Was this translation helpful? Give feedback.
All reactions