summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-vault/test_utf8_value_in_filename.yml
blob: 9bd394dc1bdd5da7ebc5a8cfad3600bdccaca3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- 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"