If the primary goal of this is to encrypt the value given to the "src" of a
copy operation (or template operation), I wonder if there's a better way to
make this happen without needing to shell out to an extra CLI.

It might require vault knowing that a file is not YAML when it is executed
though...



On Fri, Dec 19, 2014 at 5:34 PM, Stephen Gargan <steve.gar...@gmail.com>
wrote:

> I've been using a pattern of base64 encoded values and jinja templates
> deal with storing binary data in vaults and have put together scripts to
> simplify the process; I've found them pretty useful and figured others
> might get some use out of them.
>
> https://github.com/sgargan/ansible-vault-tools
>
> I've considered writing a dedicated module to take the place of the
> playbook and template, but in the meantime this works pretty well.
>
> regards,
>
> Steve.
>
> --
> 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/f0c60c7b-fd99-4333-b628-c7fe39dabfc4%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f0c60c7b-fd99-4333-b628-c7fe39dabfc4%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%2BnsWgzf3arwbPV2cmKVX0dQTqRO5vJRuzx77TGVbFtj%3DjGvwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to