ansible/test/integration/targets/lookup_unvault/unvault.yml

10 lines
321 B
YAML
Raw Normal View History

- 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')