diff options
author | Matt Clay <mclay@redhat.com> | 2021-11-04 18:48:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 18:48:34 +0100 |
commit | 730194e2b61e3d3b3037c8da49ecc5a09e64adea (patch) | |
tree | a07c4070f7c68e0580e0c0ef45792d659a7a9369 /test/integration/targets/setup_paramiko | |
parent | Update dev guide for vars plugins in collections (#75861) (diff) | |
download | ansible-730194e2b61e3d3b3037c8da49ecc5a09e64adea.tar.xz ansible-730194e2b61e3d3b3037c8da49ecc5a09e64adea.zip |
ansible-test - Add RHEL 9 support. (#76217)
* Move RHEL pip package install into function.
* Add RHEL 9 support to bootstrap script.
* ansible-test - Add RHEL 9 support.
* Add install and uninstall instructions for RHEL9 to paramiko tests
* Skip incidental_inventory_docker_swarm on RHEL 9.
* Update dnf tests for rhel9
* Fix prepare_http_tests on RHEL 9.
* fix RHEL9 Python discovery tests to match distro map
* Skip subversion test on RHEL 9.0b.
Co-authored-by: Matt Martz <matt@sivel.net>
Co-authored-by: Matt Davis <mrd@redhat.com>
Diffstat (limited to 'test/integration/targets/setup_paramiko')
-rw-r--r-- | test/integration/targets/setup_paramiko/install-RedHat-9-python-3.yml | 9 | ||||
-rw-r--r-- | test/integration/targets/setup_paramiko/uninstall-RedHat-9-python-3.yml | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/integration/targets/setup_paramiko/install-RedHat-9-python-3.yml b/test/integration/targets/setup_paramiko/install-RedHat-9-python-3.yml new file mode 100644 index 0000000000..ca391556e6 --- /dev/null +++ b/test/integration/targets/setup_paramiko/install-RedHat-9-python-3.yml @@ -0,0 +1,9 @@ +- name: Setup remote constraints + include_tasks: setup-remote-constraints.yml +- name: Install Paramiko for Python 3 on RHEL 9 + pip: # no python3-paramiko package exists for RHEL 9 + name: paramiko + extra_args: "-c {{ remote_constraints }}" + +- name: Drop the crypto-policy to LEGACY for these tests + command: update-crypto-policies --set LEGACY diff --git a/test/integration/targets/setup_paramiko/uninstall-RedHat-9-python-3.yml b/test/integration/targets/setup_paramiko/uninstall-RedHat-9-python-3.yml new file mode 100644 index 0000000000..f46ec55bea --- /dev/null +++ b/test/integration/targets/setup_paramiko/uninstall-RedHat-9-python-3.yml @@ -0,0 +1,7 @@ +- name: Uninstall Paramiko for Python 3 on RHEL 9 + pip: # no python3-paramiko package exists for RHEL 9 + name: paramiko + state: absent + +- name: Revert the crypto-policy back to DEFAULT + command: update-crypto-policies --set DEFAULT |