It's only there to encrypt data files for Ansible at this point, as it's
wired in to decrypt if it detects the vault headers in data files.
It could be made to work with the {{ lookup('file', '/path/to/file') }}
style lookup plugin, but that's not something this plugin can do right now.
Pull requests for this would be interesting -- or if you'd also like to
file a feature idea ticket, we can at least record the idea.
Thanks!
On Thu, Apr 17, 2014 at 1:51 PM, Alex Dunae <[email protected]> wrote:
> I'm looking to put our ~10 SSL certificates in our repository and have
> them installed with Ansible. From what I can tell, it seems that I can
> only use vault for data in YAML files, not arbitrary plaintext files. I've
> started makin a YAML file with vars for each cert and private key, but it's
> pretty unwieldily.
>
> Ideally, I'd be able put each cert and key in its own file and encrypt
> each one that way. Is there a workflow to do that that I've somehow missed?
>
> Thanks in advance for any help.
>
> --
> 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/d942e38b-4d5e-4f53-a721-e56ea22d5b80%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/d942e38b-4d5e-4f53-a721-e56ea22d5b80%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 [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/CA%2BnsWgw5rfPwrmQCYaiJzTJ2iJUjSimOPD%3DoyXMN9ingp0UnpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.