There's not much documentation on this procedure man.  I tried to set it up 
and failed.  However, I don't have a Cert server so I tried using a SSL 
cert.  Here are a couple of links I found that will give you some where to 
start.
https://github.com/ansible/ansible/issues/16243
http://www.hurryupandwait.io/blog/certificate-password-less-based-authentication-in-winrm

The directions are for a remote PS from Windows to Windows.  The Ansible 
side is easy most of the setup is on the Windows Host..

On Wednesday, August 2, 2017 at 3:31:25 PM UTC-7, Lorenzo Farinas wrote:

> 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 <farinas...@gmail.com> 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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/df21faf8-e658-4b90-be9f-23e23314b3be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to