mirror of https://github.com/ansible/ansible.git
win_get_url improvements; allow dir for dest and helpful error if dest parent dir doesn't exist (#25453)
* win_get_url now allows dir for destination and gives helpful message if download parent dir does not exist * fix yaml lint failurepull/26576/head
parent
e6ecc1285c
commit
deae1499ed
@ -1,6 +1,8 @@
|
||||
---
|
||||
|
||||
test_win_get_url_link: https://www.redhat.com
|
||||
test_win_get_url_host: www.redhat.com
|
||||
test_win_get_url_link: "https://{{test_win_get_url_host}}"
|
||||
test_win_get_url_invalid_link: https://www.redhat.com/skynet_module.html
|
||||
test_win_get_url_invalid_path: "Q:\\Filez\\Cyberdyne.html"
|
||||
test_win_get_url_path: "{{ test_win_get_url_dir_path }}\\docs_index.html"
|
||||
test_win_get_url_invalid_path: 'Q:\Filez\Cyberdyne.html'
|
||||
test_win_get_url_invalid_path_dir: 'Q:\Filez\'
|
||||
test_win_get_url_path: '{{ test_win_get_url_dir_path }}\docs_index.html'
|
||||
|
Loading…
Reference in New Issue