mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 20:08:41 +00:00
18 lines
616 B
YAML
18 lines
616 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# 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
|
|
|
|
- name: Install paramiko from system repository
|
|
ansible.builtin.package:
|
|
name: python-paramiko
|
|
become: true
|
|
when:
|
|
- ansible_distribution == 'CentOS' and ansible_distribution_major_version|int <= 7
|
|
|
|
- name: Install paramiko
|
|
ansible.builtin.pip:
|
|
name: "paramiko{% if cryptography_version.stdout is version('2.5.0', '<') %}<2.5.0{% endif %}"
|
|
extra_args: "-c {{ remote_constraints }}"
|
|
become: true
|