ansible/test/integration/targets/unvault/main.yml
Alexander Sowitzki d0fda3e901
Let vault lookup output unicode string. (#73571)
Until now, the lookup plugin returned a byte string.
Changed this to output a unicode string instead.
2021-02-11 14:27:47 -05:00

9 lines
212 B
YAML

- hosts: localhost
tasks:
- set_fact:
unvaulted: "{{ lookup('unvault', 'vault') }}"
- debug:
msg: "{{ unvaulted }}"
- assert:
that:
- "unvaulted == 'foo: bar\n'"