fix paramiko deps for freebsd/12.2
Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
parent
7a08efc546
commit
11b7091c84
4 changed files with 9 additions and 0 deletions
|
@ -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
|
when: not detect_paramiko.found
|
||||||
include_tasks: "{{ item }}"
|
include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
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_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-{{ ansible_os_family }}-{{ ansible_distribution_major_version }}-python-{{ ansible_python.version.major }}.yml"
|
||||||
- "install-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
|
- name: Uninstall Paramiko
|
||||||
include_tasks: "{{ item }}"
|
include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
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_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_os_family }}-{{ ansible_distribution_major_version }}-python-{{ ansible_python.version.major }}.yml"
|
||||||
- "uninstall-{{ ansible_pkg_mgr }}-python-{{ ansible_python.version.major }}.yml"
|
- "uninstall-{{ ansible_pkg_mgr }}-python-{{ ansible_python.version.major }}.yml"
|
||||||
|
|
Loading…
Reference in a new issue