mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-04-11 20:29:57 +00:00
Install paramiko from system repos on CentOS 7.
This commit is contained in:
parent
7855f6239c
commit
e1f45cd5e7
@ -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 %}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user