Skip to content

Commit

Permalink
tests: Use Android portal to check get_url
Browse files Browse the repository at this point in the history
Should have higher uptime, and make us less of a burden. Refs #1058
  • Loading branch information
moreati committed Apr 12, 2024
1 parent d5e9186 commit 8c93973
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions tests/ansible/integration/interpreter_discovery/complex_args.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,18 @@
special_python: "source /tmp/fake || true && python{{ ansible_facts.python.version.major }}"

- name: run get_url with specially-sourced python
get_url:
uri:
# Plain http for wider Ansible & Python version compatibility
url: http://httpbin.org/get
dest: "/tmp/"
mode: 0644
url: http://www.gstatic.com/generate_204
status_code: [204]
vars:
ansible_python_interpreter: "{{ special_python }}"

- name: run get_url with specially-sourced python including jinja
get_url:
uri:
# Plain http for wider Ansible & Python version compatibility
url: http://httpbin.org/get
dest: "/tmp/"
mode: 0644
url: http://www.gstatic.com/generate_204
status_code: [204]
vars:
ansible_python_interpreter: >
{% if "1" == "1" %}
Expand Down

0 comments on commit 8c93973

Please sign in to comment.