diff options
author | Jordan Borean <jborean93@gmail.com> | 2017-11-16 10:04:03 +1000 |
---|---|---|
committer | ansibot <ansibot@users.noreply.github.com> | 2017-11-15 19:04:03 -0500 |
commit | e16e6313c712825789a421bc0bd6779cab3ae0ba (patch) | |
tree | fce937fba994e51a59ea046c2b7720ba83ccc2f2 /test/integration/targets/windows-paths | |
parent | 5e20fd0943421739b40db5a7ac9bf1e5ff463b19 (diff) | |
download | ansible-e16e6313c712825789a421bc0bd6779cab3ae0ba.tar.gz |
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
Diffstat (limited to 'test/integration/targets/windows-paths')
-rw-r--r-- | test/integration/targets/windows-paths/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/targets/windows-paths/tasks/main.yml b/test/integration/targets/windows-paths/tasks/main.yml index 075428980c..9610f39339 100644 --- a/test/integration/targets/windows-paths/tasks/main.yml +++ b/test/integration/targets/windows-paths/tasks/main.yml @@ -82,7 +82,7 @@ - trailing_result|success - trailing_result.stat.attributes == 'Directory' - trailing_result.stat.exists == true - - trailing_result.stat.path == trailing + - trailing_result.stat.path == no_quotes_single # path is without the trailing \ - name: Set variables in key=value syntax set_fact: @@ -178,7 +178,7 @@ - trailing_result|success - trailing_result.stat.attributes == 'Directory' - trailing_result.stat.exists == true - - trailing_result.stat.path == trailing + - trailing_result.stat.path == no_quotes_single # path is without the trailing \ - name: Test tab path {{ tab }} win_stat: |