mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
windows: fix for checking locked system files (#30665)
* fix for checking locked system files * moved functions to share module util and created tests * fixed windows-paths test based on win_stat changes
This commit is contained in:
@@ -80,3 +80,11 @@
|
||||
win_file:
|
||||
path: C:\ansible testing
|
||||
state: absent
|
||||
|
||||
- name: call module with FileUtil tests
|
||||
file_util_test:
|
||||
register: file_util_test
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- file_util_test.data == 'success'
|
||||
|
||||
Reference in New Issue
Block a user