Skip to content

Commit

Permalink
test: Replace deprecated community.windows.win_domain_
Browse files Browse the repository at this point in the history
community.windows.win_domain_group has been deprecated.
community.windows.win_domain_user has been deprecated.

Use microsoft.ad.group instead and microsoft.ad.user instead.
  • Loading branch information
spetrosi authored and richm committed Mar 25, 2024
1 parent ce166ae commit 2393930
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tests/collection-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
collections:
- community.windows
- ansible.windows
- community.general
- microsoft.ad
6 changes: 3 additions & 3 deletions tests/tests_full_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
- name: Prepare user and groups on the AD
hosts: ad
tasks:
- name: Create groups
win_domain_group:
- name: Create groups # noqa syntax-check[unknown-module]
microsoft.ad.group:
name: "{{ item.name }}"
state: present
scope: "{{ item.scope }}"
Expand All @@ -40,7 +40,7 @@
var: group_creation

- name: Add a test user
win_domain_user:
microsoft.ad.user: # noqa syntax-check[unknown-module]
name: "{{ item.name }}"
firstname: "{{ item.first_name }}"
surname: "{{ item.surname }}"
Expand Down
6 changes: 3 additions & 3 deletions tests/tests_full_integration_dc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
- name: Prepare user and groups on the AD
hosts: ad
tasks:
- name: Create groups
win_domain_group:
- name: Create groups # noqa syntax-check[unknown-module]
microsoft.ad.group:
name: "{{ item.name }}"
state: present
scope: "{{ item.scope }}"
Expand All @@ -48,7 +48,7 @@
var: group_creation

- name: Add a test user
win_domain_user:
microsoft.ad.user: # noqa syntax-check[unknown-module]
name: "{{ item.name }}"
firstname: "{{ item.first_name }}"
surname: "{{ item.surname }}"
Expand Down
6 changes: 3 additions & 3 deletions tests/tests_full_integration_force_rejoin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
- name: Prepare user and groups on the AD
hosts: ad
tasks:
- name: Create groups
win_domain_group:
- name: Create groups # noqa syntax-check[unknown-module]
microsoft.ad.group:
name: "{{ item.name }}"
state: present
scope: "{{ item.scope }}"
Expand All @@ -43,7 +43,7 @@
var: group_creation

- name: Add a test user
win_domain_user:
microsoft.ad.user: # noqa syntax-check[unknown-module]
name: "{{ item.name }}"
firstname: "{{ item.first_name }}"
surname: "{{ item.surname }}"
Expand Down

0 comments on commit 2393930

Please sign in to comment.