Encrypting password without using vault

Hi,

Is there a way to encrypt a password in the hosts file without using a vault?

Thanks!

Is there a way to encrypt a password in the hosts file without using a vault?

What are the problems you are having with vault so that we don’t suggest something with the same problems?

Cheers,
Paul

Yup… you can use a password lookup module… for example this one:

https://github.com/morphje/ansible_pass_lookup

Which will store the password gpg-encrypted outside of the playbook.