Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting SSH error when run the deploy script #1

Open
yoongyy opened this issue Sep 3, 2021 · 0 comments
Open

Getting SSH error when run the deploy script #1

yoongyy opened this issue Sep 3, 2021 · 0 comments

Comments

@yoongyy
Copy link

yoongyy commented Sep 3, 2021

PLAY [Deploy matic mainnet full node] ************************************************************************************************************************************

TASK [Gathering Facts] ***************************************************************************************************************************************************
fatal: [localhost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.\r\nubuntu@localhost: Permission denied (publickey).", "unreachable": true}

PLAY RECAP ***************************************************************************************************************************************************************
localhost : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0

Hi, I am getting above error when try to run 'ansible-playbook -v -i hosts deploy.yml'
I guess is the SSH issue, how do I add the public key to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant