mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
more Azure test fixes for Windows (#35386)
This commit is contained in:
parent
d2d825ccd3
commit
0fb916c35e
1 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@
|
||||||
- name: get owner of folder of set owner with space recurse
|
- name: get owner of folder of set owner with space recurse
|
||||||
win_command: powershell.exe "(Get-Acl -Path '{{test_win_owner_path}}\\{{item}}').Owner"
|
win_command: powershell.exe "(Get-Acl -Path '{{test_win_owner_path}}\\{{item}}').Owner"
|
||||||
register: actual_recurse_space
|
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:
|
with_items:
|
||||||
- folder with space
|
- folder with space
|
||||||
- folder with space\file.txt
|
- folder with space\file.txt
|
||||||
|
@ -208,7 +208,7 @@
|
||||||
- name: get owner of folder of set owner with space recurse again
|
- 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"
|
win_command: powershell.exe "(Get-Acl -Path '{{test_win_owner_path}}\\{{item}}').Owner"
|
||||||
register: actual_recurse_space_again
|
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:
|
with_items:
|
||||||
- folder with space
|
- folder with space
|
||||||
- folder with space\file.txt
|
- folder with space\file.txt
|
||||||
|
|
Loading…
Reference in a new issue