Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Nov 1, 2024
1 parent db9383d commit 5d9f2a3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
9 changes: 8 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,17 @@
- _python_version.stdout is version('3.6', '>=')
- _python_version.stdout is version('3.7', '<')

- name: get download url (3.7)
ansible.builtin.set_fact:
pip_download_url: 'https://bootstrap.pypa.io/pip/3.7/get-pip.py'
when:
- _python_version.stdout is version('3.7', '>=')
- _python_version.stdout is version('3.8', '<')

- name: get download url (latest)
ansible.builtin.set_fact:
pip_download_url: 'https://bootstrap.pypa.io/pip/get-pip.py'
when: _python_version.stdout is version('3.7', '>=')
when: _python_version.stdout is version('3.8', '>=')

- name: download (latest) pip
ansible.builtin.get_url:
Expand Down
3 changes: 0 additions & 3 deletions tests/vars/_jessie.yml

This file was deleted.

3 changes: 0 additions & 3 deletions tests/vars/_stretch.yml

This file was deleted.

3 changes: 0 additions & 3 deletions tests/vars/_xenial.yml

This file was deleted.

0 comments on commit 5d9f2a3

Please sign in to comment.