Re: [ansible-project] Login/Password encryption in host file

2020-04-14 Thread David Foley

You could use vault / hash or shadow your password and use that hashed value. 
Or you could add you job to a CI/CD pipeline add your credentials into that 
pipeline which will be hashed out on Stdout

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d4e726a7-c2c9-4009-b4da-7f9e5b889b0f%40googlegroups.com.


Re: [ansible-project] Login/Password encryption in host file

2020-04-14 Thread Ankit Vashistha
Ansible Documentation is a wonderful place. Did you try searching for the
solution? Try the following doc, it has got all the scenarios.
https://docs.ansible.com/ansible/latest/user_guide/vault.html

You can use group vars directory and create yml files with group names with
encrypted credential values.

*Regards,*
*Ankit*


On Tue, Apr 7, 2020 at 1:34 AM Ashish Sagar 
wrote:

> Hi,
>
> Is there anyway to only encrypt Device login/password credentials in hosts
> file ? If so, Where should encryption key be saved and how to use it for
> decrypt ?
>
> Thanks in Advace.
>
> -Ashish
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CADa6Y5bDzerbYB0RW1Cf-2vnw4721RzvZ6YqoOgeg51HUxJL0Q%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACecUhv%3DP2zi_4a1q6NAtZxMqyQ7wXxfQLnGUcsKqjNWZYm0AQ%40mail.gmail.com.


[ansible-project] Login/Password encryption in host file

2020-04-06 Thread Ashish Sagar
Hi,

Is there anyway to only encrypt Device login/password credentials in hosts
file ? If so, Where should encryption key be saved and how to use it for
decrypt ?

Thanks in Advace.

-Ashish

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CADa6Y5bDzerbYB0RW1Cf-2vnw4721RzvZ6YqoOgeg51HUxJL0Q%40mail.gmail.com.