fix paramiko deps for freebsd/12.2

Signed-off-by: Rick Elrod <rick@elrod.me>
pull/72573/head
Rick Elrod 4 years ago
parent 7a08efc546
commit 11b7091c84

@ -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"

Loading…
Cancel
Save