mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
more Azure test fixes for Windows (#35386)
This commit is contained in:
@@ -184,7 +184,7 @@
|
||||
- name: get owner of folder of set owner with space recurse
|
||||
win_command: powershell.exe "(Get-Acl -Path '{{test_win_owner_path}}\\{{item}}').Owner"
|
||||
register: actual_recurse_space
|
||||
failed_when: actual_recurse_space.stdout_lines[0]|upper != ansible_hostname + '\\TEST WIN OWNER'
|
||||
failed_when: actual_recurse_space.stdout_lines[0]|upper != ansible_hostname|upper + '\\TEST WIN OWNER'
|
||||
with_items:
|
||||
- folder with space
|
||||
- folder with space\file.txt
|
||||
@@ -208,7 +208,7 @@
|
||||
- name: get owner of folder of set owner with space recurse again
|
||||
win_command: powershell.exe "(Get-Acl -Path '{{test_win_owner_path}}\\{{item}}').Owner"
|
||||
register: actual_recurse_space_again
|
||||
failed_when: actual_recurse_space_again.stdout_lines[0]|upper != ansible_hostname + '\\TEST WIN OWNER'
|
||||
failed_when: actual_recurse_space_again.stdout_lines[0]|upper != ansible_hostname|upper + '\\TEST WIN OWNER'
|
||||
with_items:
|
||||
- folder with space
|
||||
- folder with space\file.txt
|
||||
|
||||
Reference in New Issue
Block a user