mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
434 B
YAML
17 lines
434 B
YAML
6 years ago
|
- 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"
|