을 통해 개인의 bitbucket의 REPO를 복제 할 수 없습니다 I ansible.cfg는 ansible
sudo_flags = -H -S -n
[ssh_connection]
ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes
- name: Fetch code from git repo
git: repo={{repo_url}}
dest={{ proj_path }}
version={{ repo_version }}
accept_hostkey=yes
force=true
에서 다음과 같은 구성이 나는 또한 오류 메시지가이 일
전에 sudo를로 실행 동일한 작업이 점을 명심해야 :
는Warning: Permanently added the RSA host key for IP address '2401:1d80:1010::150' to the list of known hosts.\r\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.", "rc": 128, "stderr": "Warning: Permanently added the RSA host key for IP address '2401:1d80:1010::150' to the list of known hosts.\r\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n", "stdout": "", "stdout_lines": []}
복제하려는 호스트의 키를 삭제 해 보았습니까? ~/.ssh/known_hosts 및 ~/.ssh/authrozed_keys에 잘못된 키가있는 것 같습니다. –