> How can I run a playbook using vars encrypted by Vault during a Docker 
> build?
>

Don't
 

> How can I do it without exposing a password file?
> Is there a best practice?
>

Give sensitive information to the docker container as environment values. 
See e.g.  https://registry.hub.docker.com/_/postgres/ and POSTGRES_PASSWORD

Cheers,
Paul

-- 
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/c2846578-f141-4fe1-9044-d8270742a94a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to