Dick, How can I start using public key auth on Ansible? What's its procedure/process and the commands to use in running ansible-playbook when using it? - Thanks, Lorenzo
On Saturday, July 29, 2017 at 6:09:50 AM UTC-10, Dick Visser wrote: > > On 29 July 2017 at 00:58, Lorenzo Farinas <[email protected] > <javascript:>> wrote: > > I successfully created and tested some Ansible playbooks, that's when > > ansible_ssh_pass parameter value is the actual password of the > ansible_user > > for the involved server specified in a group in the /etc/ansible/hosts > file. > > But when the ansible_ssh_pass parameter was replaced with its salt > encrypt > > value for security reasons, the playbook run would fail with the server > > Unreachable. Please advise. > > The ansible_ssh_pass parameter is meant to supply the plain text password > only. > Anything else ("salt encrypt value" - whatever that may be) won't work. > > If you're looking to improve security then move away from password > authentication and start using public key auth. > > Dick > > > > -- > Dick Visser > GÉANT > > Want to join us? We're hiring: https://www.geant.org/jobs > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/49f3d64b-b814-4f1d-88c1-88e19073f820%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
