ansible/test/integration/targets/lookup_unvault/unvault.yml
Brian Coca cedfe34619
added unvault lookup plugin (#69087)
* added unvault lookup plugin
2020-05-14 11:19:19 -04:00

9 lines
321 B
YAML

- name: test vault lookup plugin
hosts: localhost
gather_facts: false
tasks:
- debug: msg={{lookup('unvault', 'foot.txt.vault')}}
- name: verify vault lookup works with both vaulted and unvaulted
assert:
that:
- lookup('unvault', 'foot.txt.vault') == lookup('unvault', 'foot.txt')