You need to give more info. Playbooks, inventory, what are you trying
to achieve, etc.

On Tue, 1 Sep 2020 at 23:48, Erick Sun <[email protected]> wrote:
>
> Host SSH key not recognized when trying to SSH into remote repository using 
> Ansible playbook. Remote repository was verified to have the correct SSH key 
> from host, but still wouldn't recognize host when trying to clone from the 
> repository. Ran Ansible on 15 hosts, 13 were successful, 1 failed to clone 
> from remote repo even though they were configured the same. Here is the 
> actual error received. Can anyone help, please? Thx
>
> fatal: [Host]: FAILED! => {"changed": false, "cmd": "/usr/bin/git clone 
> --origin origin 'ssh:<path_to_repo>' /local_path", "msg": "FIPS mode 
> initialized\r\nDisabling GSSAPIKeyExchange. Not usable in FIPS 
> mode\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": "FIPS mode initialized\r\nDisabling 
> GSSAPIKeyExchange. Not usable in FIPS mode\r\nPermission denied (public 
> key).\r\nfatal: Could not read from remote repository.\n\nPlease make sure 
> you have the corr ect access rights\nand the repository exists.\n", 
> "stderr_lines": ["FIPS mode initialized", "Disabling GSSAPIKeyExchange. Not 
> usable in FIPS mode", "Permission denied (publickey).", "fatal: Could not 
> read from remote repository.", "", "Please make sure you have the correct 
> access rights", "and the repository exists."], "stdout": "Cloning into 
> '/local_path'...\n", "stdout_lines": ["Cloning into '/local_path'..."]}
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/e84682be-85ac-47b8-8c80-661de0f5dbc6n%40googlegroups.com.



-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwN%3D-00zXZh5cuZtcdPVK5Xw_YH-oN6QFv3PLKZqVoWtSA%40mail.gmail.com.

Reply via email to