mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update win_user tests to set a group on user creation.
This commit is contained in:
parent
56f4bf44f5
commit
42bd640d14
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@
|
|||
- "win_user_missing_query_result.state == 'absent'"
|
||||
|
||||
- name: test create user
|
||||
win_user: name="{{ test_win_user_name }}" password="{{ test_win_user_password }}"
|
||||
win_user: name="{{ test_win_user_name }}" password="{{ test_win_user_password }}" groups="Guests"
|
||||
register: win_user_create_result
|
||||
|
||||
- name: check user creation result
|
||||
|
@ -64,7 +64,7 @@
|
|||
- "win_user_create_result.state == 'present'"
|
||||
|
||||
- name: update user full name and description
|
||||
win_user: name="{{ test_win_user_name }}" fullname="Test Ansible User" description="Test user account created by Ansible"
|
||||
win_user: name="{{ test_win_user_name }}" fullname="Test Ansible User" description="Test user account created by Ansible" groups=""
|
||||
register: win_user_update_result
|
||||
|
||||
- name: check full name and description update result
|
||||
|
|
Loading…
Reference in a new issue