it’s a new setup, installed AWX using the k3s cluster. I added a project and source control credential(Private key) and when I try to do project sync. I get the below-mentioned error. when I run the same command in the host machine it works fine. No issues with the private key. Can someone help me with this.
Identity added: /tmp/pdd_wrapper_25_2ufmikle/awx_25_lfq59ntz/artifacts/25/ssh_key_data (awx_access)
1
2
PLAY [Update source tree if necessary] *****************************************21:50:27
3
4
TASK [update project using git] ************************************************21:50:27
5
fatal: [localhost]: FAILED! => {“changed”: false, “cmd”: “/usr/bin/git ls-remote ‘’ -h refs/heads/master”, “msg”: “”, “rc”: 128, “stderr”: “git@git.XXXXX.com: Permission denied (publickey,password).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n”, “stderr_lines”: [“git@git.XXXXXX.com: Permission denied (publickey,password).”, “fatal: Could not read from remote repository.”, “”, “Please make sure you have the correct access rights”, “and the repository exists.”], “stdout”: “”, “stdout_lines”: }
6
7
PLAY RECAP *********************************************************************21:50:28
8
localhost : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
9
RegardsVishnu