feature/copy-vault-dataloader: Add method get_real_file(file_path) to dataloader

- get_real_file will decrypt vault encrypted files and return a path to
  a temporary file.

- cleanup_real_file will remove a temporary file created previously with
  get_real_file
This commit is contained in:
Cambell
2016-01-22 23:23:10 +07:00
committed by Brian Coca
parent 776bffb52b
commit cdf6e3e4bf
5 changed files with 89 additions and 4 deletions

View File

@@ -8,4 +8,6 @@
- assert:
that:
- 'secret_var == "secret"'
- copy: src=vault-secret.txt dest={{output_dir}}/secret.txt