ansible/test/integration/targets/win_group_membership/tasks/main.yml
Andrew Saraceni 435a562630 Rename win_group_member module to win_group_membership (#27614)
* rename win_group_member to win_group_membership

* adding details to BOTMETA.yml
2017-08-02 12:06:39 +10:00

31 lines
650 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
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