mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[PR #10638/07ce0041 backport][stable-10] CI: Add Debian 13 Trixie (#10780)
CI: Add Debian 13 Trixie (#10638)
* Add Debian 13 Trixie to CI.
* Add adjustments.
* Disable one apache2_module test for Debian 13.
* Disable ejabberd_user test on Debian 13.
* Fix paramiko install.
* Skip cloud_init_data_facts on Debian 13.
* Fix postgresql setup.
* Fix timezone tests.
(cherry picked from commit 07ce00417d)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
8
tests/integration/targets/setup_paramiko/meta/main.yml
Normal file
8
tests/integration/targets/setup_paramiko/meta/main.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
dependencies:
|
||||
- setup_remote_constraints
|
||||
- setup_pkg_mgr
|
||||
23
tests/integration/targets/setup_paramiko/tasks/main.yml
Normal file
23
tests/integration/targets/setup_paramiko/tasks/main.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
####################################################################
|
||||
# WARNING: These are designed specifically for Ansible tests #
|
||||
# and should not be used as examples of how to write Ansible roles #
|
||||
####################################################################
|
||||
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
- name: Install required libs
|
||||
pip:
|
||||
name:
|
||||
- paramiko
|
||||
state: present
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
when: ansible_distribution != 'Debian' or ansible_distribution_major_version is version('13', '<')
|
||||
|
||||
- name: Install required libs (Debian 13+)
|
||||
package:
|
||||
name: python3-paramiko
|
||||
state: present
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_major_version is version('13', '>=')
|
||||
Reference in New Issue
Block a user