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

[ Configuration ] ansible_ssh_user #60

Open
pierrejego opened this issue Oct 3, 2018 · 2 comments
Open

[ Configuration ] ansible_ssh_user #60

pierrejego opened this issue Oct 3, 2018 · 2 comments

Comments

@pierrejego
Copy link
Member

Hello, it's not really an issue, but it could help for installation.

When launching playbook with another user than root, I got the error

UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,password).\r\n", "unreachable": true

To solve this, just add ansible_ssh_user=root in the hosts file.

Regards

@Gaetanbrl
Copy link
Contributor

Something like that was inserted in https://github.com/georchestra/ansible#setup by PR #80.

Do you think we can close this issue now ?

@landryb
Copy link
Member

landryb commented Nov 3, 2021

you dont have to use ansible_ssh_user=root, become also works ... :)

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

3 participants