blob: c2297ee0168e073793219b67b4c601d64a24fe68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
- name: Gather facts
setup:
- name: Remove potentially leftover test group
win_group: &wg_absent
name: WinGroupMembershipTest
state: absent
- name: Add new test group
win_group:
name: WinGroupMembershipTest
state: present
- name: Run tests for win_group_membership
block:
- name: Test in normal mode
include_tasks: tests.yml
vars:
win_local_group: WinGroupMembershipTest
in_check_mode: no
- name: Test in check-mode
include_tasks: tests.yml
vars:
win_local_group: WinGroupMembershipTest
in_check_mode: yes
check_mode: yes
- name: Remove test group
win_group: *wg_absent
|