You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/win_group_membership/tasks/main.yml

32 lines
648 B
YAML

- 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
import_tasks: tests.yml
vars:
win_local_group: WinGroupMembershipTest
in_check_mode: no
- name: Test in check-mode
import_tasks: tests.yml
vars:
win_local_group: WinGroupMembershipTest
in_check_mode: yes
check_mode: yes
- name: Remove test group
win_group: *wg_absent