Skip to content

Commit

Permalink
win_acl_inheritance - add tests for UNC paths (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 authored Nov 1, 2022
1 parent da837ec commit 43cf617
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
test_win_acl_inheritance_path: C:\ansible\win_acl_inheritance .ÅÑŚÌβŁÈ [$!@^&test(;)]
test_win_acl_inheritance_network_path: \\localhost\{{ test_win_acl_inheritance_path[0:1] }}$\{{ test_win_acl_inheritance_path[3:] }}
test_win_acl_inheritance_registry_path: HKU:\.DEFAULT\Ansible Test .ÅÑŚÌβŁÈ [$!@^&test(;)]
4 changes: 2 additions & 2 deletions tests/integration/targets/win_acl_inheritance/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@

- name: (folder) remove inheritance
ansible.windows.win_acl_inheritance:
path: '{{ test_win_acl_inheritance_path }}\folder'
path: '{{ test_win_acl_inheritance_network_path }}\folder'
reorganize: True
state: absent
register: remove
Expand All @@ -168,7 +168,7 @@

- name: (folder) remove inheritance again
ansible.windows.win_acl_inheritance:
path: '{{ test_win_acl_inheritance_path }}\folder'
path: '{{ test_win_acl_inheritance_network_path }}\folder'
reorganize: True
state: absent
register: remove_again
Expand Down

0 comments on commit 43cf617

Please sign in to comment.