Yeah, this is presently not possible unfortunately.

I think this could be potentially confusing unless it threw a warning when
attempting to read the file - because you might not know why a variable
would be undefined.

If we did this, it would need to be a config setting, default off, in
ansible.cfg.

I'm not yet sure that we need to, but one thing that is not possible is to
prompt at load time, because you might be halfway into the playbook run --
this would make it hard to run ansible via expect type scripts and it would
be unpredictable when a prompt might come up.





On Fri, Sep 12, 2014 at 5:02 PM, DomaNitro <adham.he...@gmail.com> wrote:

> Hey,
>
> I was wondering if its possible to do optional import of vault encrypted
> files. i.e. if a password/password file is presented the encrypted file
> will be included. Else the file will be ignored.
>
> Thanks
>
> --
> 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 post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/00840cc1-990a-4b2e-8c5c-aa0fd0656538%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/00840cc1-990a-4b2e-8c5c-aa0fd0656538%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgx%2ByaMF3u53L%2BBd%3Dor4%2BfGaAD9as7fyB0bJ-idPVZZy%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to