win_uri: fix up tests (#67064)

This commit is contained in:
Jordan Borean 2020-02-04 09:57:44 +10:00 committed by GitHub
parent 23b2bb4f4d
commit 3ada0b2f65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@
- name: get request with return_content and dest - name: get request with return_content and dest
win_uri: win_uri:
url: https://{{httpbin_host}}/get url: https://{{httpbin_host}}/base64/{{ '{"key":"value"}' | b64encode }}
return_content: yes return_content: yes
dest: '{{ remote_tmp_dir }}\get.json' dest: '{{ remote_tmp_dir }}\get.json'
register: get_request_with_dest register: get_request_with_dest
@ -90,7 +90,7 @@
- name: get request with return_content and dest (idempotent) - name: get request with return_content and dest (idempotent)
win_uri: win_uri:
url: https://{{httpbin_host}}/get url: https://{{httpbin_host}}/base64/{{ '{"key":"value"}' | b64encode }}
return_content: yes return_content: yes
dest: '{{ remote_tmp_dir }}\get.json' dest: '{{ remote_tmp_dir }}\get.json'
register: get_request_with_dest_again register: get_request_with_dest_again