1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 13:19:13 +00:00
Commit graph

786 commits

Author SHA1 Message Date
Mariam Ahhttouche
97bda3fb5e Make uv_python tests more deterministic 2026-03-07 16:10:03 +00:00
Mariam Ahhttouche
9697c31e8d Add aliases to skip running tests on freebsd and rhel 2026-03-07 16:10:03 +00:00
Mariam Ahhttouche
58616656ce Remove unecessary integration test for uv_python 2026-03-07 16:09:34 +00:00
Mariam Ahhttouche
22147bd913 Updates test aliases 2026-03-06 13:30:53 +00:00
Mariam Ahhttouche
4a4ec34145 Fix typing.Tuple is deprecated linting error 2026-03-06 12:46:50 +00:00
Mariam Ahhttouche
d52fdc4c83 make integration tests more deterministic and fix typo 2026-03-05 15:49:38 +01:00
Mariam Ahhttouche
f3475ae023 make integration tests more deterministic 2026-03-05 12:17:51 +01:00
Mariam Ahhttouche
5033a4f922 Use StrictVersion instead of packaging Version 2026-02-27 17:18:48 +01:00
Mariam Ahhttouche
ed0eb833f7 Add integration tests' aliases file for uv_python module 2026-02-25 20:39:24 +01:00
Mariam Ahhttouche
1858a586b4
Fix typo
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-02-25 20:06:23 +01:00
Mariam Ahhttouche
19043541f1 Fix yamllint errors 2026-02-25 08:33:22 +01:00
Mariam Ahhttouche
14b3f86c45 uv_python module: pin uv version used in tests 2026-02-24 11:32:55 +01:00
Mariam Ahhttouche
77b04b4885 uv_python module: improve tests 2026-02-23 14:31:12 +01:00
Mariam Ahhttouche
a35e1216f9 uv_python module: clean tests 2026-02-23 08:05:14 +01:00
Mariam Ahhttouche
8181aa0343 uv_python module: update integration tests 2026-02-23 06:53:46 +01:00
Mariam Ahhttouche
5b59f830a2 uv_python module: improve integration tests 2026-02-21 14:23:58 +01:00
Mariam Ahhttouche
1371cf2fcb uv_python module: fix integration tests 2026-02-20 17:06:08 +01:00
Mariam Ahhttouche
ae5eeaffe2 uv_python module: add python version to module return values for present state 2026-02-19 20:42:12 +01:00
Mariam Ahhttouche
afbe833c02 uv_python module: return commands' stderr and return code as a variable of stdout 2026-02-17 16:46:42 +01:00
Mariam Ahhttouche
54e7a639ef uv_python module: refactor code 2026-02-17 15:17:02 +01:00
Mariam Ahhttouche
5819c8eb7b uv_python module: improve check mode for present state to fail when no patch version is available 2026-02-17 14:43:12 +01:00
Mariam Ahhttouche
571a5b5161 uv_python module: improve integration tests 2026-02-16 16:13:33 +01:00
Mariam Ahhttouche
cfecbc6d7b uv_python module: refactor code 2026-02-16 14:31:58 +01:00
Mariam Ahhttouche
ce10eba574 uv_python module: add integration test for case when specified version does not exist 2026-02-16 14:28:57 +01:00
Mariam Ahhttouche
7610b82e00 uv_python module: add integration test for when uv executable does not exist 2026-02-16 11:38:07 +01:00
Mariam Ahhttouche
c40054f3f6 uv_python module: improve integration tests 2026-02-16 11:17:23 +01:00
Mariam Ahhttouche
473f758ec1 uv_python module: improve absent state check mode and add corresponding integration test 2026-02-13 17:10:46 +01:00
Mariam Ahhttouche
87ad81992d uv_python module: add integration tests for check mode 2026-02-13 15:49:15 +01:00
Mariam Ahhttouche
0f586328bc uv_python module: add integration tests for latest state 2026-02-13 15:42:09 +01:00
Mariam Ahhttouche
71d7538bdf uv_python module: add integration tests for version format 2026-02-12 17:27:25 +01:00
Mariam Ahhttouche
458cd11c42 uv_python module: add integration tests 2026-02-12 10:47:21 +01:00
Mariam Ahhttouche
731d7b571f uv_python module: add integration tests 2026-02-11 17:20:48 +01:00
Felix Fontein
e853a6f39b
redis_info: adjust tests for Arch Linux (#10129) 2025-05-14 07:23:59 +02:00
Sibe Bleuzé
43eb342b18
ini_file: fix unmatched whitespace before comment (#10102)
* ini_file: fix unmatched whitespace before comment

* Add changelog fragment

* Update changelog fragment: bugfixes to minor_changes

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: sibebleuze <>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-05-10 13:21:36 +02:00
Felix Fontein
fcd2d8b7b7
Fix deprecation test (#10111)
Fix deprecation test.
2025-05-06 23:02:24 +02:00
Alexei Znamensky
a042721c82
pipx/pipx_info: fix scheduled tests (#10096) 2025-05-03 12:31:04 +12:00
Timur Gadiev
7e4d6aa541
Add new filter plugin: 'to_prettytable' (#9954)
* Add new action plugin 'prettytable'

* Add integration tests for 'prettytable' plugin

* Added BOTMETA details

* Add COPYRIGHT details

* Add 'to_prettytable' filter plugin and tests

* fix: 🐛 Fix add_rows method

* Add changelog fragment

* Remove changelog fragments

* Apply code review suggestions

* Correct BOTMETA and lint

* refactor: 🔥 Remove unnecessary code parts

* fix: Fix contact details

* Correct kwargs.pop and column_alignments description

* Remove 'trim' filter from conditionals in tests

* Add additional validations and tests

* fix: Apply corrections after review

* refactor: Optimize code and make some refactoring

* fix: Add some minor corrections

* fix: add column_alignments validation and tests

* Update version_added to "10.7.0"

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* refactor: Use TypeValidationError class for type checking

* refactor: Apply suggestions

* fix: documentation indent

* Apply suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* style: Adjust indentation

Co-authored-by: Felix Fontein <felix@fontein.de>

* style: Correction of examples

* fix: Commit suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix: Commit suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* feat: Add correct parameters validation for empty data

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-05-02 06:16:45 +02:00
Felix Fontein
a720e99482
Mark supervisorctl tests as unstable (#10057)
Mark supervisorctl tests as unstable.
2025-04-22 21:59:17 +02:00
Felix Fontein
2a5abab738
Remove blanket skips for Python 3 in CI (#10043)
* Remove blanket skips for Python 3 in CI.

* Try to fix hg tests.

* Disable hg tests.

* Drop restriction of supervisor to <4.0.0.

This was introduced in https://github.com/ansible/ansible/pull/54935.

* Make tests work with supervisorctl 4.0.0.

According to https://supervisord.org/changes.html#id12,
"supervisorctl will now set its exit code to a non-zero value when an error condition occurs."
I'm not sure why a stopped service in 'status' constitutes an error condition,
but whatever 🤷...

* Use correct Python executable.

* Skip RHEL/macOS; diff on config write.

* Skip CentOS 7 and OpenSuSE on ansible-core 2.16.
2025-04-21 16:23:55 +02:00
s1github
ce421dbd7d
Allowing uppercase tags in proxmox & proxmox_kvm (#10024)
* Allowing uppercase tags in proxmox & proxmox_kvm

* Fix #9895 : fixes the 'not a valid tag' error message when the VM or container tag contains uppercase characters

* Add PR URL to changelog fragment.

---------

Co-authored-by: s1githug <sgithug@free.fr>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-04-21 12:34:56 +02:00
Rui Lopes
96b493002c
add the wsl connection plugin (#9795)
* add the wsl connection plugin

* move the banner_timeout required paramiko version to its own line

* document the proxy_command required paramiko version

* document the timeout required paramiko version

* simplify the sending of the become_pass value

* add Connection.__init__ type hints

* add MyAddPolicy.missing_host_key type hints

* normalize the Connection._parse_proxy_command replacers dict values to the str type

* add the user_known_hosts_file option

* modify the private_key_file option type to path
2025-04-19 09:01:36 +02:00
desand01
a8b977320c
Fix Keycloak authentication flow configuration issues (#9987)
* Add delete_authentication_config method and integrate it into create_or_update_executions

* typo

* Sanity

* Add integration tests for keycloak_authentication module with README, tasks, and variables

* Add copyright and license information to access_token.yml

* Sanity

* Refactor Keycloak integration tests: streamline README, update access token task, and enhance variable management

* Maj changelogs fragments

---------

Co-authored-by: Andre Desrosiers <andre.desrosiers@ssss.gouv.qc.ca>
2025-04-19 09:00:44 +02:00
mk2km
80252b29f8
Add zypper skip post errors feature (#9973)
* Add zypper skip post errors feature

* Add feature to handle zypper return code 107 with skip_post_errors (default: false).
* Add integration test to verify the skip_post_errors flag.
* Add changelog fragment

Issue: #9972
Issue-Ref: https://github.com/ansible-collections/community.general/issues/9972

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/zypper.py

* Update changelogs/fragments/9972-zypper-skip-post-errors.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update tests/integration/targets/zypper/tasks/zypper.yml

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-04-19 09:00:00 +02:00
Emanuele Bernardi
42a161abf5
param pkcs12_alias and cert_alias to be optional in java_cert module (#9970)
* changed pkcs12_alias and cert_alias to be optional when importing pkcs12 certificate in keystore

* Add changelog fragment

* Update changelogs/fragments/9970-pkcs12_alias_cert_alias_optional.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/9970-pkcs12_alias_cert_alias_optional.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-04-16 20:52:11 +02:00
Felix Fontein
04cfce78ea
Make ready for data tagging (#9833)
* Fix dependent lookup.

* Fix ansible_type plugin utils and adjust documentation of reveal_ansible_type filter and ansible_type test.

* Fix diy callback plugin.

* Adjust to Data Tagging.

* Vendor and use internal code from ansible-core to fix YAML callback.

Ref: https://github.com/ansible/ansible/issues/84781
2025-04-14 19:04:26 +02:00
morco
1157b7102f
allow gitlab-project-members module to handle user level "owner" (#9953)
* fix(modules/gitlab-project-members): fix ...

... module not being able to handle owner access level

* add changelog fragment for this pr

* fix and extend integration tests

* extend parameter docu as requested by review

* also add docu for other parameters

* remove pip install break-packages flag from ...

... integration tests

---------

Co-authored-by: Mirko Wilhelmi <Mirko.Wilhelmi@sma.de>
2025-04-10 07:05:01 +02:00
Felix Fontein
e5e335348a
Simplify YAML callback tests (#9945)
Simplify YAML callback tests.
2025-03-29 10:47:53 +01:00
Abhijeet Kasurde
ec38a82ef1
tests: enable copr tests (#9867)
[WIP] tests: enable copr tests

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
2025-03-23 14:51:21 +01:00
Felix Fontein
6a2d9ccd99
sysrc: extend the list of FreeBSD releases where the jail test fails (#9900)
Extend the list of FreeBSD releases where the jail test fails.
2025-03-18 21:58:43 +01:00
Nocchia
4a2cc71141
systemd_info - extend support to timer unit (#9891)
* systemd_info - extend support to timer unit

* systemd_info - add changelogs fragments

* systemd_info - fix description and base_props
2025-03-16 21:21:07 +01:00