abc6658ac2
* [stable-2.10] Add macOS 11 to CI (#72622) * Fix connection_paramiko_ssh test for macOS 11 * Update Azure Pipelines config * Add changelog (cherry picked from commita7e834071c
) Co-authored-by: Sam Doran <sdoran@redhat.com> * Prefer venv for tests * Update pip integration test to use venv on py3. (cherry picked from commit456e9b7a33
) Co-authored-by: Matt Clay <matt@mystile.com>
18 lines
837 B
YAML
18 lines
837 B
YAML
- hosts: localhost
|
|
tasks:
|
|
- name: Detect Paramiko
|
|
detect_paramiko:
|
|
register: detect_paramiko
|
|
- name: Persist Result
|
|
copy:
|
|
content: "{{ detect_paramiko }}"
|
|
dest: "{{ lookup('env', 'OUTPUT_DIR') }}/detect-paramiko.json"
|
|
- name: Install Paramiko
|
|
when: not detect_paramiko.found
|
|
include_tasks: "{{ item }}"
|
|
with_first_found:
|
|
- "install-{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-python-{{ ansible_python.version.major }}.yml"
|
|
- "install-{{ ansible_os_family }}-{{ ansible_distribution_major_version }}-python-{{ ansible_python.version.major }}.yml"
|
|
- "install-{{ ansible_os_family }}-python-{{ ansible_python.version.major }}.yml"
|
|
- "install-python-{{ ansible_python.version.major }}.yml"
|
|
- "install-fail.yml"
|