1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

2550 commits

Author SHA1 Message Date
Felix Fontein
d250bb5217
[stable-6] inventory plugins: make data obtained from remote unsafe (#8147)
inventory plugins: make data obtained from remote unsafe (#8098)

Make data obtained from remote unsafe.

(cherry picked from commit d62fe154d2)
2024-03-25 06:50:17 +01:00
patchback[bot]
12df7f7a95
[PR #8052/73b6b98e backport][stable-6] Aix filesystem crfs issue (#8110)
Aix filesystem crfs issue (#8052)

* crfs issue in aix_filesystem.py

Change the crfs logic and fields, since empty options and order seem to be an issue.

this quick fix seems to solve it

* Create aix_filesystem-crfs-issue.yml

changelog fragment

* fix

fix typo

* Update changelogs/fragments/aix_filesystem-crfs-issue.yml

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

* Refactored based on feeback and testing

Refactored the changes i did based on the comments and testing. Also changed the attribute default values because they were causing errors

* blank line whitespaces

* fix default

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 73b6b98ed9)

Co-authored-by: Mike <mike@php-webdesign.nl>
2024-03-17 17:40:44 +01:00
patchback[bot]
db28a2e94a
[PR #8103/1c4197aa backport][stable-6] Skip cloud_init_data_facts tests on OpenSuSE Leap 15 (#8107)
Skip cloud_init_data_facts tests on OpenSuSE Leap 15 (#8103)

Skip cloud_init_data_facts tests on OpenSuSE Leap 15.5.

(cherry picked from commit 1c4197aa23)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-03-17 17:14:57 +01:00
patchback[bot]
fa865a19a5
[PR #8102/23fbc5e2 backport][stable-6] Fix pacman tests in CI (#8104)
Fix pacman tests in CI (#8102)

Fix pacman tests.

(cherry picked from commit 23fbc5e241)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-03-17 16:57:06 +01:00
patchback[bot]
d15a41d6c2
[PR #8081/17e275bc backport][stable-6] pacemaker_cluster: implement check mode (#8093)
pacemaker_cluster: implement check mode (#8081)

* Implement check mode for pacemaker_cluster.

* Fix restart code.

Co-authored-by: Mario Lenz <m@riolenz.de>

---------

Co-authored-by: Mario Lenz <m@riolenz.de>
(cherry picked from commit 17e275bc0b)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-03-14 22:32:52 +01:00
patchback[bot]
40de10b9b3
[PR #8057/c13bede0 backport][stable-6] pam_limits: do not create file in check mode when it does not exist (#8080)
pam_limits: do not create file in check mode when it does not exist (#8057)

Do not create file in check mode when it does not exist.

(cherry picked from commit c13bede0c5)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-03-10 15:33:03 +01:00
patchback[bot]
6137ffe2a4
[PR #8058/98df3440 backport][stable-6] Bump fsfe/reuse-action from 2 to 3 (#8059)
Bump fsfe/reuse-action from 2 to 3 (#8058)

Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 2 to 3.
- [Release notes](https://github.com/fsfe/reuse-action/releases)
- [Commits](https://github.com/fsfe/reuse-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: fsfe/reuse-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 98df344017)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 19:50:02 +01:00
Felix Fontein
a7770647ae
[stable-6] Add MarkDown changelog and use it by default (#7943)
Add MarkDown changelog and use it by default.
2024-02-09 13:08:44 +01:00
Felix Fontein
0c4461f9cd
[stable-6] filesize: use 2 TB instead of 4 TB in sparse file tests (#7935) (#7936)
filesize: use 2 TB instead of 4 TB in sparse file tests (#7935)

Use 2 TB instead of 4 TB.

4 TB does not work on the Alpine VMs for some reason
(File too large / cannot seek: Invalid argument).

(cherry picked from commit 549a73bd78)
2024-02-03 15:27:31 +01:00
patchback[bot]
2f16e78431
[PR #7907/2580da97 backport][stable-6] Zuul third-party-check: disable ansible-doc part of galaxy-importer (#7908)
Zuul third-party-check: disable ansible-doc part of galaxy-importer (#7907)

Zuul third-party-check: disable ansible-doc part of galaxy-importer.

(cherry picked from commit 2580da9796)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-27 15:44:44 +01:00
patchback[bot]
4002e458dd
[PR #7857/069b485b backport][stable-6] Use shared workflow for Galaxy import test (#7862)
Use shared workflow for Galaxy import test (#7857)

Simplifiy workflows.

(cherry picked from commit 069b485b7e)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-18 07:33:33 +01:00
Felix Fontein
02ee120a6e
[stable-6] Make compatible with newer reuse versions (#7861)
Make compatible with newer reuse versions (#7858)

Make compatible with newer reuse versions.

(cherry picked from commit 002208f425)
2024-01-18 07:11:00 +01:00
patchback[bot]
78c16ca5e5
[PR #7839/32ec7519 backport][stable-6] Use import galaxy workflow from ansible-collections/community.docker#754 (#7840)
Use import galaxy workflow from ansible-collections/community.docker#754 (#7839)

Use import galaxy workflow from https://github.com/ansible-collections/community.docker/pull/754.

(cherry picked from commit 32ec751996)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-13 19:25:43 +01:00
patchback[bot]
32a348d73f
[PR #7831/8891f559 backport][stable-6] Disable timezone tests on Arch Linux (#7833)
Disable timezone tests on Arch Linux (#7831)

Disable timezone tests on Arch Linux.

(cherry picked from commit 8891f559ef)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-13 10:25:46 +01:00
patchback[bot]
5a1ea5bac3
[PR #7827/87866477 backport][stable-6] CI: fix xml tests on RHEL 8 (#7828)
CI: fix xml tests on RHEL 8 (#7827)

* Try to fix xml installation on RHEL.

* Install python-lxml on RHEL 8. Should speed up tests considerably.

(cherry picked from commit 878664778e)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-13 10:11:32 +01:00
Felix Fontein
0805f97905
[stable-6] Fix failing sanity and integration tests (#7807) (#7810)
Fix failing sanity and integration tests (#7807)

* Remove some Shippable specific code that trips latest shellcheck.

* Rename templated shell script to .sh.j2 to avoid shellcheck disliking the templating.

* Copy on the remote, not from controller to remote.

(cherry picked from commit ee8b15708f)
2024-01-04 23:29:15 +01:00
patchback[bot]
54fe541081
[PR #7797/8d307cb1 backport][stable-6] Remove FreeBSD 12.4 from CI (#7798)
Remove FreeBSD 12.4 from CI (#7797)

Remove FreeBSD 12.4 from CI.

(cherry picked from commit 8d307cb190)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-31 15:19:25 +01:00
patchback[bot]
67cb03a77e
[PR #7776/e9f7f7e2 backport][stable-6] CI: python-memcached 1.60 needs Python 3.6+ (#7777)
CI: python-memcached 1.60 needs Python 3.6+ (#7776)

python-memcached 1.60 needs Python 3.6+.

(cherry picked from commit e9f7f7e2de)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-28 13:53:23 +01:00
patchback[bot]
010877691a
[PR #7709/0c7b9e50 backport][stable-6] Fix keytool setup on Debian Bookworm (#7710)
Fix keytool setup on Debian Bookworm (#7709)

Fix keytool setup on Debian Bookworm.

(cherry picked from commit 0c7b9e50b5)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-10 09:03:14 +01:00
patchback[bot]
827967310e
[PR #7705/aea238e5 backport][stable-6] Fix integration tests on Arch (#7706)
Fix integration tests on Arch (#7705)

* Fix ejabberd_user integration tests on Arch Linux.

* Fix odbc integration tests on Arch Linux.

* The old name of systemd_service is systemd.

(cherry picked from commit aea238e5d1)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-09 17:30:28 +01:00
patchback[bot]
fe385eb131
[PR #7699/2b64ef2a backport][stable-6] Deactivate FreeBSD 13.1 in CI (#7700)
Deactivate FreeBSD 13.1 in CI (#7699)

Deactivate FreeBSD 13.1 in CI.

(cherry picked from commit 2b64ef2a62)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-08 07:10:26 +01:00
patchback[bot]
9f16c7baf1
[PR #7656/096d36ad backport][stable-6] passwordstore tests: re-enable gopass on Debian-like systems (#7660)
passwordstore tests: re-enable gopass on Debian-like systems (#7656)

Re-enable gopass on Debian-like systems.

(cherry picked from commit 096d36adc5)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-01 18:03:25 +01:00
patchback[bot]
e13f9c1092
[PR #7630/0589c841 backport][stable-6] Fix and re-enable cmd_runner tests (#7651)
Fix and re-enable cmd_runner tests (#7630)

Fix cmd_runner tests.

(cherry picked from commit 0589c84176)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-01 17:28:36 +01:00
Felix Fontein
1f60829b9d
[stable-6] Fix bad expressions in tests (#7627)
* Fix bad expressions in tests (#7625)

* Fix bad expressions in tests.

ci_complete

* Disable cmd_runner integration tests.

ci_complete

* Another bad expression.

ci_complete

(cherry picked from commit 3b779ecade)

* Fix osx_defaults tests (#7631)

Fix osx_defaults tests.

(cherry picked from commit dbba0d1956)
2023-11-29 07:51:37 +01:00
patchback[bot]
e6c2a12a4a
[PR #7603/12395732 backport][stable-6] CI: temporarily skip passwordstore tests on Debian/Ubuntu (#7607)
CI: temporarily skip passwordstore tests on Debian/Ubuntu (#7603)

Skip passwordstore tests on Debian/Ubuntu.

(cherry picked from commit 12395732e8)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-11-26 17:35:23 +01:00
Felix Fontein
0be65af9a9 Remove Fedora 36 from CI (#7592)
Remove Fedora 36 from CI.

(cherry picked from commit b2dea631d1)
2023-11-24 21:48:36 +01:00
patchback[bot]
3c021dc4fc
[PR #7591/19984ce4 backport][stable-6] Update proxmox_tasks_info.py (#7593)
Update proxmox_tasks_info.py (#7591)

fix typo
I spend 3 hours because of this mistake

(cherry picked from commit 19984ce4df)

Co-authored-by: Андрей Неустроев <99169437+aneustroev@users.noreply.github.com>
2023-11-24 21:27:24 +01:00
patchback[bot]
2f64e8c732
[PR #7543/b3c661a9 backport][stable-6] sysrc: FreeBSD jail test no longer works with FreeBSD 13.1 (#7544)
sysrc: FreeBSD jail test no longer works with FreeBSD 13.1 (#7543)

Jail test no longer works with FreeBSD 13.1.

(cherry picked from commit b3c661a9f6)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-11-18 13:58:47 +01:00
Felix Fontein
5f2a8d5e59 Stick to pre-semantic-markup version. 2023-11-12 12:19:39 +01:00
patchback[bot]
6bc2a8e949
[PR #7480/74e941e4 backport][stable-6] Disable nomad tests (#7482)
Disable nomad tests (#7480)

Disable nomad tests.

(cherry picked from commit 74e941e432)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-11-04 14:01:03 +01:00
patchback[bot]
56662f82fe
[PR #7476/57e36d7d backport][stable-6] timezone tests: do not restore original timezone if it wasn't known (value 'n/a') (#7477)
timezone tests: do not restore original timezone if it wasn't known (value 'n/a') (#7476)

Do not restore original timezone if it wasn't known (value 'n/a').

(cherry picked from commit 57e36d7dc2)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-11-04 13:22:54 +01:00
Felix Fontein
938ed56d70 Next expected release will be 6.6.8. 2023-11-04 13:00:17 +01:00
Felix Fontein
1357e47f92 Re-create 6.6.7 release including GitLab fix.
This reverts commit 01134d4625.
2023-11-04 12:36:30 +01:00
patchback[bot]
cc6d4209d4
[PR #7467/a366318a backport][stable-6] [gitlab] Fix gitlab constants calls (#7475)
[gitlab] Fix gitlab constants calls (#7467)

fix: Fix gitlab constants calls

Co-authored-by: Arnaud Hatzenbuhler <arnaud.hatzenbuhler@conserto.pro>
(cherry picked from commit a366318ac6)

Co-authored-by: Arnaud Hatzenbuhler <arnaud.hatzenbuhler@gmail.com>
2023-11-04 12:35:59 +01:00
Felix Fontein
01134d4625 Release 6.6.7. 2023-11-04 12:23:01 +01:00
Felix Fontein
16089ab2de Fix section. 2023-11-04 12:22:25 +01:00
Felix Fontein
0da4607c7f Prepare 6.6.7 release. 2023-11-04 12:20:35 +01:00
patchback[bot]
46cbf60c2d
[PR #7405/f7267c71 backport][stable-6] Fix the ability to run Composer "working_dir" dependent commands (#7459)
Fix the ability to run Composer "working_dir" dependent commands (#7405)

* pass the working_dir to all composer command invocations that are not global

* add changelog fragment

* Update changelog fragment

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit f7267c7123)

Co-authored-by: Xavier Lacot <xavier@lacot.org>
2023-11-01 08:22:38 +01:00
Felix Fontein
e7d86f5add Main branches are stable-8 and stable-7; stable-6 runs more seldomly in CI.
(cherry picked from commit 6d0bcec1cb)
2023-11-01 08:10:52 +01:00
patchback[bot]
ee4c76fa43
[PR #7446/8055dd1c backport][stable-6] Revert "Disable ansible_galaxy_install tests until Galaxy is fixed (#7440)" (#7448)
Revert "Disable ansible_galaxy_install tests until Galaxy is fixed (#7440)" (#7446)

This reverts commit f7532c7d9d.

(cherry picked from commit 8055dd1c9b)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-10-29 20:57:48 +01:00
patchback[bot]
095d09ec12
[PR #7440/f7532c7d backport][stable-6] Disable ansible_galaxy_install tests until Galaxy is fixed (#7442)
Disable ansible_galaxy_install tests until Galaxy is fixed (#7440)

Disable ansible_galaxy_install tests until Galaxy is fixed.

(cherry picked from commit f7532c7d9d)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-10-29 09:58:24 +01:00
patchback[bot]
d9ed00fb12
[PR #7375/eb4f8d43 backport][stable-6] Fix pagination issue in community.general.github_deploy_key (#7407)
Fix  pagination issue in community.general.github_deploy_key (#7375)

* Fix pagination issue in community.general.github_deploy_key

* Add changelog fragment

* Update changelogs/fragments/7375-fix-github-deploy-key-pagination.yml

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit eb4f8d4301)

Co-authored-by: Padraic Calpin <padraic.calpin93@gmail.com>
2023-10-18 21:15:12 +02:00
patchback[bot]
94bb204e29
[PR #7374/479e7df6 backport][stable-6] Fix callback/selective task print being long (#7390)
Fix callback/selective task print being long (#7374)

* Fix callback/selective task print being long

Compare against all text on the line rather than simply the task_name var,
which does not include 3 formatting characters in the string

* Add changelog fragment

---------

Co-authored-by: Aidan Houck <AidanHouck@users.noreply.github.com>
(cherry picked from commit 479e7df687)

Co-authored-by: Aidan Houck <92699100+AidanHouck@users.noreply.github.com>
2023-10-11 17:01:50 +02:00
patchback[bot]
9b1f450102
[PR #7385/91fdc8e0 backport][stable-6] Skip odbc tests on Python 2.6 and CentOS 7 (#7387)
Skip odbc tests on Python 2.6 and CentOS 7 (#7385)

Skip odbc tests on Python 2.6 and CentOS 7.

(cherry picked from commit 91fdc8e06a)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-10-11 15:58:19 +02:00
patchback[bot]
dd3bc067f5
[PR #7378/d7bb8648 backport][stable-6] redhat_subscription: fix D-Bus option for consumer type on older distros (#7383)
redhat_subscription: fix D-Bus option for consumer type on older distros (#7378)

subscription-manager 1.29.32 renames the "type" D-Bus registration
option to "consumer_type"; this means that the right option must be
passed according to the distro type & version.

Copy the same approach done for environments, tweaking the version
needed: this change is found in RHEL 9.2+ and supported Fedora versions.

Reported-by: Radek Bíba <rbiba@redhat.com>
(cherry picked from commit d7bb8648f3)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
2023-10-11 09:00:57 +02:00
patchback[bot]
15916cd61f
[PR #7379/557a4ae6 backport][stable-6] Make compatible with current ansible-core devel (#7380)
Make compatible with current ansible-core devel (#7379)

Make compatible with current ansible-core devel.

(cherry picked from commit 557a4ae653)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-10-10 09:06:50 +02:00
patchback[bot]
02a257569a
[PR #7369/1bf5a44a backport][stable-6] Fix lxc plugin options (#7370)
Fix lxc plugin options (#7369)

* Fixture for liblxc

Add a fixture to allow testing the lxc connection plugin both with and
without liblxc being present.

Also change the test from unittest to pytest.

* Update liblxc error message

The error is not specific to python2, so remove the version. Also add
a test for it.

* Migrate to options

Because the lxc plugin was only using PlayContext properties, using host
vars like `ansible_lxc_host` didn't work. This is fixed by instead using
the `get_option` method inherited from `AnsiblePlugin`.
The options are not yet available in the `__init__` function, so the
determination of the container name is moved to the `_connect` method,
which is the first time it is actually needed.
The default for the `remote_addr` option is removed, because the string
`inventory_hostname` is not very useful. At all. This seams to have been
spread with copy&paste and a bit of cargo culting. The variable priority
already takes care of setting the value.

* Add changelog fragment

* Fix for Py2.7

`TypeError: super() takes at least 1 argument (0 given)`

* Add plugin type to changelog fragment.

* Restore untemplated default

This partially reverts commit 429d8c8cfb.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 1bf5a44a77)

Co-authored-by: Corubba <97832352+corubba@users.noreply.github.com>
2023-10-09 09:21:43 +02:00
Felix Fontein
c486e42faa Next expected release is 6.6.7. 2023-10-08 14:06:59 +02:00
Felix Fontein
7f7e622262 Release 6.6.6. 2023-10-08 13:31:17 +02:00
Felix Fontein
e1551b3d34 Prepare 6.6.6 release. 2023-10-08 12:59:23 +02:00