summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/lookup_unvault/unvault.yml
blob: f1f3b98a7d07a3d918ab9e8dc0f396ee8f3fcbcc (plain)
1
2
3
4
5
6
7
8
9
- 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')