Hello Vladimir, Thanks for your reply.
I am trying to maintain password (encrypted using ansible-vault) and my playbook (clear-text) in separate files. If I understand correctly the below URL is suggesting to encrypt the password string and copy the same in my playbook. https://docs.ansible.com/ansible/latest/user_guide/vault.html#use-encrypt-string-to-create-encrypted-variables-to-embed-in-yaml Am I reading this correctly? Please help. On Tue, Jan 21, 2020 at 1:47 PM Vladimir Botka <vbo...@gmail.com> wrote: > On Mon, 20 Jan 2020 22:07:21 -0800 (PST) > Srinivas Naram <srinivas.nar...@gmail.com> wrote: > > > In my inventory file I have created host vars > > > > [<hostIP>:vars] > > ansible_user=root > > ansible_password=!vault > > The encrypted value of the variable is missing. See "Use encrypt_string to > create encrypted variables to embed in yaml". > > https://docs.ansible.com/ansible/latest/user_guide/vault.html#use-encrypt-string-to-create-encrypted-variables-to-embed-in-yaml > > -vlado > -- 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/CAG-N3P5ToCzB%2BgpD1sTke4mPB6R4d%2B4363e2%3DLJOowwvcqxGLg%40mail.gmail.com.