1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

win_uri: use variable for httpbin host (#46734)

This commit is contained in:
Jordan Borean 2018-10-10 17:31:58 +10:00 committed by GitHub
parent 0785656344
commit f34f75be45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -363,7 +363,7 @@
- name: validate status codes as list of strings
win_uri:
url: https://httpbin.org/status/202
url: https://{{httpbin_host}}/status/202
status_code:
- '202'
- '418'
@ -380,7 +380,7 @@
- name: validate status codes as comma separated list
win_uri:
url: https://httpbin.org/status/202
url: https://{{httpbin_host}}/status/202
status_code: 202, 418
method: POST
body: foo