Open pierrejego opened 6 years ago
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
Something like that was inserted in https://github.com/georchestra/ansible#setup by PR #80.
Do you think we can close this issue now ?
you dont have to use ansible_ssh_user=root, become also works ... :)
ansible_ssh_user=root
become
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