semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

semaphore UI| git-submodule: can't cd to .git

Open alokispandey opened this issue 2 years ago • 0 comments

Hi, I am getting below error while accessing ansible playbook over SSH.

/snap/semaphore/183/usr/lib/git-core/git-submodule: 375: cd: can't cd to .git
5:59:54 AM
Unable to determine absolute path of git directory

Details:

  1. Repository definition:
image
  1. Task Logs on First run:
/snap/semaphore/183/usr/lib/git-core/git-submodule: 375: cd: can't cd to .git
5:59:54 AM
Unable to determine absolute path of git directory

4.Task logs on 2nd attemp: ( without any change to configuration)

6:08:41 AM Task 33 added to queue
6:08:44 AM Preparing: 33
6:08:44 AM Prepare TaskRunner with template: FirstPlaybook

6:08:44 AM *********************************************************************
6:08:44 AM Updating Repository ssh://git@localhost:/home/git/git-server/pocserver.git
6:08:44 AM Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
6:08:44 AM*********************************************************************
6:08:44 AM From ssh://localhost:/home/git/git-server/pocserver
6:08:44 AM * branch master -> FETCH_HEAD
6:08:44 AM Already up to date.
6:08:44 AM Get current commit hash
6:08:44 AM Get current commit message
6:08:44 AM installing static inventory
6:08:44 AM No roles/requirements.yml file found. Skip galaxy install process.
6:08:49 AM Started: 33
6:08:49 AM Run TaskRunner with template: FirstPlaybook
6:08:49 AM Running playbook failed: exec: "ansible-playbook": executable file not found in $PATH

It seem bug..Anyone?

alokispandey avatar May 19 '22 10:05 alokispandey