mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
17 lines
434 B
YAML
17 lines
434 B
YAML
|
- name: "Test that the vaulted file with UTF-8 in filename decrypts correctly"
|
||
|
gather_facts: false
|
||
|
hosts: testhost
|
||
|
vars:
|
||
|
expected: "my_secret"
|
||
|
vars_files:
|
||
|
- vault-café.yml
|
||
|
tasks:
|
||
|
- name: decrypt vaulted file with utf8 in filename and show it in debug
|
||
|
debug:
|
||
|
var: vault_string
|
||
|
|
||
|
- name: assert decrypted value matches expected
|
||
|
assert:
|
||
|
that:
|
||
|
- "vault_string == expected"
|