CI: Try to get more targets for SSH connection test (#1026)

* Try to get more targets for SSH connection test.

* Install paramiko from system repos on CentOS 7.
This commit is contained in:
Felix Fontein 2025-01-11 12:54:11 +01:00 committed by GitHub
parent b72e17cc53
commit 993d66971d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -5,5 +5,4 @@
azp/4 azp/4
destructive destructive
needs/root needs/root
skip/docker # we need a VM, and not a container needs/ssh
skip/alpine # for some reason, SSH has problems with Alpine VMs

View File

@ -3,6 +3,13 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
- name: Install paramiko from system repository
package:
name: python-paramiko
become: true
when:
- ansible_distribution == 'CentOS' and ansible_distribution_major_version|int <= 7
- name: Install paramiko - name: Install paramiko
pip: pip:
name: "paramiko{% if cryptography_version.stdout is version('2.5.0', '<') %}<2.5.0{% endif %}" name: "paramiko{% if cryptography_version.stdout is version('2.5.0', '<') %}<2.5.0{% endif %}"