1
0
Fork 0
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:
Chris Church 2014-11-24 00:44:45 -05:00
parent 56f4bf44f5
commit 42bd640d14

View file

@ -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