ansible/test/integration/targets/vault/test_utf8_value_in_filename.yml
Abhijeet Kasurde 5c992fcc3f
ansible-vault: handle utf-8 filename in vault (#50341)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-02-12 16:13:51 +05:30

16 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"