You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configured git on the semaphore server to use a credential helper in the global config. This works for the cloning of a repository for inventory and a task template, but if a task attempts to clone a repository it will hang. After registering the output of "git config --list" and outputting it with debug, the globally set credential helper option is not included. Presumably, the task is hanging because git is asking for authentication but verbose options do yield any helpful output.
Impact
Ansible (task execution)
Installation method
Binary
Database
BoltDB
Browser
Chrome
Semaphore Version
2.10.43-e43af6b-1732277822
Ansible Version
core 2.17.5
Logs & errors
N/A
Manual installation - system information
Linux 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux (Ubuntu 24.04.1 LTS)
Apache
Configuration
~$ git config --list
credential.helper=lastpass
Output of git config --list while executed in a task
Issue
I have configured git on the semaphore server to use a credential helper in the global config. This works for the cloning of a repository for inventory and a task template, but if a task attempts to clone a repository it will hang. After registering the output of "git config --list" and outputting it with debug, the globally set credential helper option is not included. Presumably, the task is hanging because git is asking for authentication but verbose options do yield any helpful output.
Impact
Ansible (task execution)
Installation method
Binary
Database
BoltDB
Browser
Chrome
Semaphore Version
2.10.43-e43af6b-1732277822
Ansible Version
Logs & errors
N/A
Manual installation - system information
Linux 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux (Ubuntu 24.04.1 LTS)
Apache
Configuration
~$ git config --list credential.helper=lastpass
Output of
git config --list
while executed in a taskAdditional information
No response
The text was updated successfully, but these errors were encountered: