From 11b7091c84ed6cf9576f319118b88f2a81894764 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Fri, 6 Nov 2020 14:50:29 -0600 Subject: [PATCH] fix paramiko deps for freebsd/12.2 Signed-off-by: Rick Elrod --- .../targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml | 3 +++ test/integration/targets/setup_paramiko/install.yml | 1 + .../setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml | 4 ++++ test/integration/targets/setup_paramiko/uninstall.yml | 1 + 4 files changed, 9 insertions(+) create mode 100644 test/integration/targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml create mode 100644 test/integration/targets/setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml new file mode 100644 index 00000000000..4fe6011bb17 --- /dev/null +++ b/test/integration/targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml @@ -0,0 +1,3 @@ +- name: Install Paramiko for Python 3 on FreeBSD 12.2 + pkgng: + name: py37-paramiko diff --git a/test/integration/targets/setup_paramiko/install.yml b/test/integration/targets/setup_paramiko/install.yml index 194bd51f80d..dc30b300e78 100644 --- a/test/integration/targets/setup_paramiko/install.yml +++ b/test/integration/targets/setup_paramiko/install.yml @@ -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" diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml new file mode 100644 index 00000000000..0359bf4cf75 --- /dev/null +++ b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml @@ -0,0 +1,4 @@ +- name: Uninstall Paramiko for Python 3 on FreeBSD 12.2 + pkgng: + name: py37-paramiko + state: absent diff --git a/test/integration/targets/setup_paramiko/uninstall.yml b/test/integration/targets/setup_paramiko/uninstall.yml index 46a16d913a0..06c56a82305 100644 --- a/test/integration/targets/setup_paramiko/uninstall.yml +++ b/test/integration/targets/setup_paramiko/uninstall.yml @@ -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"