mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix SID Lookup Issues on Assorted Windows Modules (#28979)
* fix sid lookup issues and update copyright/license to latest format * simplify win_owner and win_share by removing unnecessary function
This commit is contained in:
committed by
Jordan Borean
parent
4af8c6852f
commit
8f050d3719
@@ -45,7 +45,7 @@
|
||||
path: "{{test_win_owner_path}}"
|
||||
user: invalid-user
|
||||
register: invalid_user
|
||||
failed_when: invalid_user.msg != 'invalid-user is not a valid user or group on the host machine or domain'
|
||||
failed_when: invalid_user.msg is not search("account_name invalid-user is not a valid account, cannot get SID.*")
|
||||
|
||||
- name: set owner defaults check
|
||||
win_owner:
|
||||
|
||||
Reference in New Issue
Block a user