mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
7b3d893f2d
* initial commit for win_group_member module * fix variable name change for split_adspath * correct ordering of examples/return data to match documentation verbiage * change tests setup/teardown to use new group rather than an inbult group
31 lines
630 B
YAML
31 lines
630 B
YAML
- name: Gather facts
|
|
setup:
|
|
|
|
- name: Remove potentially leftover test group
|
|
win_group: &wg_absent
|
|
name: WinGroupMemberTest
|
|
state: absent
|
|
|
|
- name: Add new test group
|
|
win_group:
|
|
name: WinGroupMemberTest
|
|
state: present
|
|
|
|
- name: Run tests for win_group_member
|
|
block:
|
|
|
|
- name: Test in normal mode
|
|
include_tasks: tests.yml
|
|
vars:
|
|
win_local_group: WinGroupMemberTest
|
|
in_check_mode: no
|
|
|
|
- name: Test in check-mode
|
|
include_tasks: tests.yml
|
|
vars:
|
|
win_local_group: WinGroupMemberTest
|
|
in_check_mode: yes
|
|
check_mode: yes
|
|
|
|
- name: Remove test group
|
|
win_group: *wg_absent
|