mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
16 lines
434 B
YAML
16 lines
434 B
YAML
|
- name: "test that the vaulted_utf8_value decrypts correctly"
|
||
|
gather_facts: false
|
||
|
hosts: testhost
|
||
|
vars:
|
||
|
expected: "aöffü"
|
||
|
tasks:
|
||
|
- name: decrypt vaulted_utf8_value and show it in debug
|
||
|
debug:
|
||
|
var: vaulted_utf8_value
|
||
|
|
||
|
- name: assert decrypted vaulted_utf8_value matches expected
|
||
|
assert:
|
||
|
that:
|
||
|
- "vaulted_utf8_value == expected"
|
||
|
- "vaulted_utf8_value == 'aöffü'"
|