tests: Use Android portal to check get_url

Should have higher uptime, and make us less of a burden. Refs #1058
pull/1007/head
Alex Willmer 7 months ago
parent d5e9186289
commit 8c93973f98

@ -29,20 +29,18 @@
special_python: "source /tmp/fake || true && python{{ ansible_facts.python.version.major }}" special_python: "source /tmp/fake || true && python{{ ansible_facts.python.version.major }}"
- name: run get_url with specially-sourced python - name: run get_url with specially-sourced python
get_url: uri:
# Plain http for wider Ansible & Python version compatibility # Plain http for wider Ansible & Python version compatibility
url: http://httpbin.org/get url: http://www.gstatic.com/generate_204
dest: "/tmp/" status_code: [204]
mode: 0644
vars: vars:
ansible_python_interpreter: "{{ special_python }}" ansible_python_interpreter: "{{ special_python }}"
- name: run get_url with specially-sourced python including jinja - name: run get_url with specially-sourced python including jinja
get_url: uri:
# Plain http for wider Ansible & Python version compatibility # Plain http for wider Ansible & Python version compatibility
url: http://httpbin.org/get url: http://www.gstatic.com/generate_204
dest: "/tmp/" status_code: [204]
mode: 0644
vars: vars:
ansible_python_interpreter: > ansible_python_interpreter: >
{% if "1" == "1" %} {% if "1" == "1" %}

Loading…
Cancel
Save