Debian Codegraph @

test/integration/targets/module_utils_Ansible.ModuleUtils.SID/tasks/main.yml

raw
1 ---
2 - block:
3 - name: create test user with well know SID as the name
4 win_user:
5 name: S-1-0-0
6 password: AbcDef123!@#
7 state: present
8
9 - name: call module with SID tests
10 sid_utils_test:
11 sid_account: S-1-0-0
12 register: sid_test
13
14 always:
15 - name: remove test SID user
16 win_user:
17 name: S-1-0-0
18 state: absent
19
20 - assert:
21 that:
22 - sid_test.data == 'success'