Thanks Michael.  The lookup seems like it would still have the same 
limitations, since the target files would either be out of the repo or 
unencrypted.  I'll distill my thoughts and do a feature req.

On Thursday, April 17, 2014 1:14:55 PM UTC-7, Michael DeHaan wrote:
>
> 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] 
> <javascript:>>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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> 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/1b195f37-4e7d-4123-818e-f8fb31e20429%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to