Debian Codegraph @

test/integration/targets/module_utils_Ansible.Secrets/tasks/main.yml

raw
1 ---
2 # The masking corpus is passed as raw content because the test module runs on a
3 # remote target that cannot access the controller's files. The same fixture is
4 # consumed by the units in test/units/module_utils/_internal/ to keep the C# and
5 # Python secret masking implementations aligned.
6 - name: test Ansible.Secrets.cs
7 ansible_secrets_tests:
8 corpus: '{{ lookup("file", "secret_masking_corpus.json") }}'
9 register: ansible_secrets_test
10
11 - name: assert test Ansible.Secrets.cs
12 assert:
13 that:
14 - ansible_secrets_test.data == "success"