mirror of https://github.com/ansible/ansible.git
Clean up setup_paramiko test target.
- Remove obsolete install/uninstall files. - Use OS packages on Alpine 3.pull/79620/head
parent
04fc98c794
commit
754c54d3d6
@ -1,9 +1,2 @@
|
|||||||
- name: Setup remote constraints
|
|
||||||
include_tasks: setup-remote-constraints.yml
|
|
||||||
- name: Install Paramiko for Python 3 on Alpine
|
- name: Install Paramiko for Python 3 on Alpine
|
||||||
pip: # no apk package manager in core, just use pip
|
command: apk add py3-paramiko
|
||||||
name: paramiko
|
|
||||||
extra_args: "-c {{ remote_constraints }}"
|
|
||||||
environment:
|
|
||||||
# Not sure why this fixes the test, but it does.
|
|
||||||
SETUPTOOLS_USE_DISTUTILS: stdlib
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
- name: Install Paramiko for Python 2 on CentOS 6
|
|
||||||
yum:
|
|
||||||
name: python-paramiko
|
|
@ -1,9 +0,0 @@
|
|||||||
- name: Install Paramiko and crypto policies scripts
|
|
||||||
dnf:
|
|
||||||
name:
|
|
||||||
- crypto-policies-scripts
|
|
||||||
- python3-paramiko
|
|
||||||
install_weak_deps: no
|
|
||||||
|
|
||||||
- name: Drop the crypto-policy to LEGACY for these tests
|
|
||||||
command: update-crypto-policies --set LEGACY
|
|
@ -1,3 +0,0 @@
|
|||||||
- name: Install Paramiko for Python 2 on Ubuntu 16
|
|
||||||
apt:
|
|
||||||
name: python-paramiko
|
|
@ -1,3 +0,0 @@
|
|||||||
- name: Install Paramiko for Python 2
|
|
||||||
package:
|
|
||||||
name: python2-paramiko
|
|
@ -1,4 +1,2 @@
|
|||||||
- name: Uninstall Paramiko for Python 3 on Alpine
|
- name: Uninstall Paramiko for Python 3 on Alpine
|
||||||
pip:
|
command: apk del py3-paramiko
|
||||||
name: paramiko
|
|
||||||
state: absent
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
- name: Revert the crypto-policy back to DEFAULT
|
|
||||||
command: update-crypto-policies --set DEFAULT
|
|
||||||
|
|
||||||
- name: Uninstall Paramiko and crypto policies scripts using dnf history undo
|
|
||||||
command: dnf history undo last --assumeyes
|
|
@ -1,5 +0,0 @@
|
|||||||
- name: Uninstall Paramiko for Python 2 using apt
|
|
||||||
apt:
|
|
||||||
name: python-paramiko
|
|
||||||
state: absent
|
|
||||||
autoremove: yes
|
|
@ -1,2 +0,0 @@
|
|||||||
- name: Uninstall Paramiko for Python 2 using zypper
|
|
||||||
command: zypper --quiet --non-interactive remove --clean-deps python2-paramiko
|
|
Loading…
Reference in New Issue