monit: handle arbitrary error status (#10743)
* handle arbitrary error status
* add changelog fragment
* mock module in test
* Update changelogs/fragments/10743-monit-handle-unknown-status.yml
---------
(cherry picked from commit 469e557b95)
Co-authored-by: Simon Kelly <skelly@dimagi.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
random_string: Specify seed while generating random string (#10710)
* random_string: Specify seed while generating random string
* Allow user to specify seed to generate random string
Fixes: #5362
* Apply suggestions from code review
---------
(cherry picked from commit b5a2c5812c)
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Add support for gpg-auto-import-keys option to zypper (#10661)
* Add support for gpg-auto-import-keys option to zypper
* Add changelog fragment
* Add missing module argument_spec
* Improving documentation
* Improve changelog fragment
(cherry picked from commit 177b385dfb)
Co-authored-by: Marc Urben <aegnor@mittelerde.ch>
Add cpu limit argument to scaleway_container (#10646)
Add cpu limit arguments
And document the units used for memory_limit and cpu_limit.
(cherry picked from commit 09f11523d1)
Co-authored-by: mscherer <mscherer@users.noreply.github.com>
gitlab_*_access_token: add `planner` access level (#10679)
The Planner role was introduced in December 2024 with GitLab 17.7 [1].
Allow its use in gitlab_project_access_token and
gitlab_group_access_token.
[1]: https://about.gitlab.com/releases/2024/12/19/gitlab-17-7-released/
(cherry picked from commit 1c0eb9ddf4)
Co-authored-by: David Phillips <phillid@users.noreply.github.com>
Add a scaleway group to be able to use module_defaults (#10647)
(cherry picked from commit 29b35022cf)
Co-authored-by: mscherer <mscherer@users.noreply.github.com>
Update documentation (#10696)
* Update documentation
Added to the description explaining the mode of operation and the protocol being used.
This would add to the user experience and saves time for the user.
* use single quotes around colon contained list element to satisfy linter
* Apply suggestions from code review
* documentation of nagios module - included all nagios configuration paths in plugins/modules/nagios.py
* used italic code I(...) for paths
* added trailing comma to nagios.cfg path listing
* added trailing period after icinga path listing.
---------
(cherry picked from commit db7757ed4b)
Co-authored-by: bofo540 <bjoern.foersterling@cpb-software.com>
Co-authored-by: bjt-user <bjoern.foersterling@web.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
remove extra brackets when params are a given by a comprehension (#10712)
* remove extra brackets when function params are a given by a comprehension
* add changelog frag
(cherry picked from commit cb84fa740a)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
pacemaker_resource: Fix resource_type parameter (#10663)
* Ensure resource standard, provider, and name are proper format
* Add changelog fragment
* Update changelogs/fragments/10663-pacemaker-resource-fix-resource-type.yml
---------
(cherry picked from commit b9385d7fe8)
Co-authored-by: Dexter <45038532+munchtoast@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
pids: avoid type error if name is empty (#10688)
Avoid type error if name is empty.
(cherry picked from commit ceba0cbedb)
Co-authored-by: Felix Fontein <felix@fontein.de>
apache2_module: updated cgi action conditions (#10423)
* apache2_module: updated cgi action conditions
Only the activation of the cgi module in threaded mode should be a
restriction due to apache2 limitations, not the deactivation.
Especially when the cgi module isn't enabled yet at all. Fixes#9140
* bug(fix): apache2_module fails to disable cgi module
* Update changelog fragment.
---------
(cherry picked from commit 735a066d92)
Co-authored-by: Daniel Hoffend <dh@dotlan.net>
Co-authored-by: Felix Fontein <felix@fontein.de>
composer: fix command args as list rather than string (#10669)
(cherry picked from commit 13bd4b5d82)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
lvm_pv - Fixes#10444 - Partition device not found (#10596)
* Skip rescan for partition devices in LVM PV module
Adds a check to prevent unnecessary rescan attempts on partition devices in the LVM physical volume module. When a device is actually a partition, attempting to rescan it via sysfs would fail since partitions don't have a rescan interface.
This change improves error handling by gracefully skipping the rescan operation when dealing with partition devices, avoiding misleading warning messages.
* Rewrote device rescan logic
Added changelog fragment
* Add issue reference to lvm_pv changelog entry
(cherry picked from commit 92ca379319)
Co-authored-by: Klention Mali <45871249+klention@users.noreply.github.com>
xbps: command args as list rather than string (#10608)
* xbps: command args as list rather than string
* add changelog frag
(cherry picked from commit c16cf774d7)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
timezone: command args as list rather than string (#10612)
* timezone: command args as list rather than string
* adjust attr `update_timezone`
* add changelog frag
(cherry picked from commit 5d3662b23c)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
xfs_quota: command args as list rather than string (#10609)
(cherry picked from commit 9fc5d2ec4d)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
urpmi: command args as list rather than string (#10606)
* urpmi: command args as list rather than string
* add changelog frag
(cherry picked from commit 83ce53136c)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
swupd: command args as list rather than string (#10605)
* swupd: command args as list rather than string
* add changelog frag
(cherry picked from commit 2dd74b3f3c)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
solaris_zone: command args as list rather than string (#10604)
* solaris_zone: command args as list rather than string
* add changelog frag
(cherry picked from commit b1bb034b50)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
portage: command args as list rather than string (#10602)
* portage: command args as list rather than string
* add changelog frag
* fix pr number in chglog frag
(cherry picked from commit a90759d949)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
riak: command args as list rather than string (#10603)
* riak: command args as list rather than string
* add changelog frag
(cherry picked from commit 6b7ec5648d)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
open_iscsi: command args as list rather than string (#10599)
* open_iscsi: command args as list rather than string
* add changelog frag
(cherry picked from commit 1bd7aac07e)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
pear: command args as list rather than string (#10601)
* pear: command args as list rather than string
* add changelog frag
(cherry picked from commit 25dc09074e)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
rocketchat: deprecate default value of is_pre740 (#10490)
* Deprecate default value of is_pre740.
* Use correct markup.
---------
(cherry picked from commit 88bd44aea7)
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
logstash_plugin: command args as list rather than string (#10573)
* logstash_plugin: command args as list rather than string
* add changelog frag
(cherry picked from commit 47ebde3339)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
imgadm: command args as list rather than string (#10536)
* imgadm: command args as list rather than string
* add changelog frag
* Update plugins/modules/imgadm.py
* Update plugins/modules/imgadm.py
---------
(cherry picked from commit 40bcfd9646)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Keycloak realm add support for some missing options (#10538)
* First commit
* fixe
* changelog
---------
(cherry picked from commit 85f6a07b19)
Co-authored-by: desand01 <desrosiers.a@hotmail.com>
Co-authored-by: Andre Desrosiers <andre.desrosiers@ssss.gouv.qc.ca>
Keycloak idp well known url support (#10527)
* first commit
* add and fixe test
* add example
* fragment and sanity
* sanity
* sanity
* Update plugins/modules/keycloak_identity_provider.py
* Update changelogs/fragments/10527-keycloak-idp-well-known-url-support.yml
---------
(cherry picked from commit 7ffeaaa16d)
Co-authored-by: desand01 <desrosiers.a@hotmail.com>
Co-authored-by: Andre Desrosiers <andre.desrosiers@ssss.gouv.qc.ca>
Co-authored-by: Felix Fontein <felix@fontein.de>
composer: command args as list rather than string (#10525)
* composer: command args as list rather than string
* add changelog frag
(cherry picked from commit 5bdd82fbf5)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>