Trying to have some script enter stuff that is prompted towards the user usually ends up in a very messy result. I would advice against going down that road.
While I haven't tested this I would suggest "vaulting" your var file using a script as described in https://docs.ansible.com/ansible/playbooks_vault.html#running-a-playbook-with-vault and use the script to get and pass your vault password however you want to. -- 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/c4a5ae2d-4e6b-40fb-8bf2-30a382c808b6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
