Debian Codegraph @

ansible_collections/community/hashi_vault/tests/integration/targets/auth_none/tasks/target.yml

raw
1 ---
2 # TODO: consider setting up a Vault agent in CI to provide a better test of the none method
3 - name: "Perform a login with 'none' auth type"
4 register: status
5 vault_test_auth:
6 url: '{{ ansible_hashi_vault_url }}'
7 auth_method: '{{ ansible_hashi_vault_auth_method }}'
8
9 - name: "Assert no login information is returned"
10 assert:
11 that:
12 - status.login == None