mirror of https://github.com/ansible/ansible.git
Integration tests clean up (#85130)
* Integration tests clean up
* more
* we only test with Ubuntu 24.04 on the controller
(cherry picked from commit 40c919d7bd)
pull/85255/head
parent
35a951b611
commit
108f349e1d
@ -1 +0,0 @@
|
||||
multiarch_test_pkg: libunistring2
|
||||
@ -1,8 +0,0 @@
|
||||
- name: Setup remote constraints
|
||||
include_tasks: setup-remote-constraints.yml
|
||||
- name: Install Paramiko for Python 3 on RHEL 8
|
||||
pip: # no python3-paramiko package exists for RHEL 8
|
||||
name: paramiko
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
environment:
|
||||
SETUPTOOLS_USE_DISTUTILS: stdlib
|
||||
@ -1,4 +0,0 @@
|
||||
- name: Uninstall Paramiko for Python 3 on RHEL 8
|
||||
pip: # no python3-paramiko package exists for RHEL 8
|
||||
name: paramiko
|
||||
state: absent
|
||||
@ -1,2 +0,0 @@
|
||||
- name: Uninstall Paramiko for Python 3 using zypper
|
||||
command: zypper --quiet --non-interactive remove --clean-deps python3-paramiko
|
||||
@ -1,21 +0,0 @@
|
||||
- name: Test shadow backup on Solaris
|
||||
when: ansible_facts.os_family == 'Solaris'
|
||||
block:
|
||||
- name: Create a user to test shadow file backup
|
||||
user:
|
||||
name: ansibulluser
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- name: Find shadow backup files
|
||||
find:
|
||||
path: /etc
|
||||
patterns: 'shadow\..*~$'
|
||||
use_regex: yes
|
||||
register: shadow_backups
|
||||
|
||||
- name: Assert that a backup file was created
|
||||
assert:
|
||||
that:
|
||||
- result.bakup
|
||||
- shadow_backups.files | map(attribute='path') | list | length > 0
|
||||
Loading…
Reference in New Issue