mirror of
https://github.com/ansible/ansible.git
synced 2026-08-03 08:03:05 +02:00
fix paramiko deps for freebsd/12.2
Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
- name: Install Paramiko for Python 3 on FreeBSD 12.2
|
||||
pkgng:
|
||||
name: py37-paramiko
|
||||
@@ -11,6 +11,7 @@
|
||||
when: not detect_paramiko.found
|
||||
include_tasks: "{{ item }}"
|
||||
with_first_found:
|
||||
- "install-{{ ansible_distribution }}-{{ ansible_distribution_version }}-python-{{ ansible_python.version.major }}.yml"
|
||||
- "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-python-{{ ansible_python.version.major }}.yml"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
- name: Uninstall Paramiko for Python 3 on FreeBSD 12.2
|
||||
pkgng:
|
||||
name: py37-paramiko
|
||||
state: absent
|
||||
@@ -8,6 +8,7 @@
|
||||
- name: Uninstall Paramiko
|
||||
include_tasks: "{{ item }}"
|
||||
with_first_found:
|
||||
- "uninstall-{{ ansible_distribution }}-{{ ansible_distribution_version }}-python-{{ ansible_python.version.major }}.yml"
|
||||
- "uninstall-{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-python-{{ ansible_python.version.major }}.yml"
|
||||
- "uninstall-{{ ansible_os_family }}-{{ ansible_distribution_major_version }}-python-{{ ansible_python.version.major }}.yml"
|
||||
- "uninstall-{{ ansible_pkg_mgr }}-python-{{ ansible_python.version.major }}.yml"
|
||||
|
||||
Reference in New Issue
Block a user