-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
Add support for Noble
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
--- | ||
collections: | ||
- name: community.docker | ||
version: '>=1.2.0,<2' | ||
- name: community.general | ||
version: '>=2,<3' | ||
collections: [] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
# pre test file | ||
--- | ||
- name: install dependencies | ||
ansible.builtin.apt: | ||
name: | ||
- "python{{ virtualenv_python_version_major is version('3', '>=') | ternary('3', '') }}" | ||
- curl | ||
state: "{{ apt_install_state | default('latest') }}" | ||
update_cache: true | ||
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}" | ||
|
||
- name: install pip # noqa command-instead-of-module | ||
- name: pip | check | ||
Check warning on line 3 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 3 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 3 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 3 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 3 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 3 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
|
||
ansible.builtin.shell: > | ||
curl -sL {{ virtualenv_get_pip_url }} | python{{ virtualenv_python_version_major | string }} - | ||
which pip | ||
register: _pip_installed | ||
changed_when: false | ||
tags: | ||
- skip_ansible_lint | ||
check_mode: false | ||
failed_when: false | ||
|
||
- name: pip | install | ||
Check warning on line 11 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 11 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 11 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 11 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 11 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 11 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
|
||
when: _pip_installed.rc != 0 | ||
block: | ||
- name: dependencies | install | ||
Check warning on line 14 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 14 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 14 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 14 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 14 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
Check warning on line 14 in tests/tasks/pre.yml GitHub Actions / Lintname[casing]
|
||
ansible.builtin.apt: | ||
name: | ||
- "python{{ virtualenv_python_version_major is version('3', '>=') | ternary('3', '') }}" | ||
- curl | ||
state: "{{ apt_install_state | default('latest') }}" | ||
update_cache: true | ||
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}" | ||
|
||
- name: pip | install # noqa command-instead-of-module | ||
ansible.builtin.shell: > | ||
curl -sL {{ virtualenv_get_pip_url }} | python{{ virtualenv_python_version_major | string }} - | ||
changed_when: false | ||
tags: | ||
- skip_ansible_lint |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# vars file | ||
--- | ||
virtualenv_python_version_major: 3 | ||
virtualenv_get_pip_url: 'https://bootstrap.pypa.io/pip/3.6/get-pip.py' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# vars file | ||
--- | ||
virtualenv_python_version_major: 3 | ||
virtualenv_get_pip_url: 'https://bootstrap.pypa.io/pip/3.7/get-pip.py' |
This file was deleted.
This file was deleted.
This file was deleted.