1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/packaging/os
Amin Vakil 94a53adff1
zypper_repository: fix idempotency on adding repo with releasever and basearch variables (#2722)
* zypper_repository: Check idempotency on adding repo with releasever

* Name required when adding non-repo files.

* Initial try to fix releasever

* Replace re.sub with .replace

* name releaseverrepo releaseverrepo

* Change  to ansible_distribution_version for removing repo

* improve asserts format

* add changelog

* Fix changelog formatting

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

* improve command used for retrieving releasever variable

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

* add basearch replace

* Add basearch to changelog fragment

* Check for releasever and basearch only when they are there

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-06-08 08:23:32 +02:00
..
apk.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
apt_repo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
apt_rpm.py Deprecation of parameters triggering the parameter-invalid sanity-check (#1927) 2021-03-05 08:17:36 +01:00
copr.py New module: Add copr module (#1592) 2021-01-27 19:30:03 +01:00
flatpak.py Add --non-interactive argurment to Flatpak (#1246) 2020-11-19 21:10:54 +01:00
flatpak_remote.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
homebrew.py Small Documentation Example Of Cask Leveraging (#2462) 2021-05-08 11:58:55 +02:00
homebrew_cask.py Deprecation of parameters triggering the parameter-invalid sanity-check (#1927) 2021-03-05 08:17:36 +01:00
homebrew_tap.py homebrew_tap: Add support for brew search path (#1708) 2021-02-01 08:42:32 +01:00
installp.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
layman.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
macports.py Fix macports package present/active detection (#1308) 2020-11-26 06:59:32 +01:00
mas.py Fix #1435: mas : Fix "invalid literal" when no app (#1436) 2020-12-04 09:17:42 +01:00
openbsd_pkg.py Update CI (#1782) 2021-02-11 10:24:58 +01:00
opkg.py Deprecation of parameters triggering the parameter-invalid sanity-check (#1927) 2021-03-05 08:17:36 +01:00
pacman.py pacman: add 'executable' option to use an alternative pacman binary (#2524) 2021-05-18 12:59:11 +02:00
pacman_key.py add module pacman_key (#778) 2021-06-04 07:08:54 +02:00
pkg5.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
pkg5_publisher.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pkgin.py feat(pkgin): add support for installation of full versioned package names (#1256) 2020-11-21 21:20:27 +01:00
pkgng.py [pkgng] present the 'ignore_osver' option to pkg (#1243) 2020-11-17 07:17:16 +01:00
pkgutil.py fixed calls to list.extend() (#2161) 2021-04-04 23:38:59 +02:00
portage.py Add getbinpkgonly (-G) to portage (#1169) 2020-10-26 19:37:56 +01:00
portinstall.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pulp_repo.py Add a Pulp 2 related note to pulp_repo (#2096) 2021-03-24 17:48:24 +01:00
redhat_subscription.py fixed Python 3 keys() usage (#1861) 2021-02-23 23:19:27 +01:00
rhn_channel.py Legacy Python certificate validation fixed (#470) 2021-01-03 11:15:51 +01:00
rhn_register.py rhn_register: added force option to allow forced registering (#1454) (#1455) 2020-12-08 13:12:04 +01:00
rhsm_release.py rhsm_release: Fix the issue that rhsm_release module considers 8, 7Client and 7Workstation as invalid releases (#2571) 2021-05-24 21:59:52 +02:00
rhsm_repository.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
rpm_ostree_pkg.py rpm_ostree_pkg: new module (#357) 2021-01-11 09:47:22 +03:00
slackpkg.py Deprecation of parameters triggering the parameter-invalid sanity-check (#1927) 2021-03-05 08:17:36 +01:00
snap.py snap - revamp + implementing enabled/disabled states (#2411) 2021-05-17 14:03:15 +02:00
sorcery.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
svr4pkg.py Fix #2373 - TypeError: a bytes-like object is required, not 'str' (#2375) 2021-05-03 07:25:08 +02:00
swdepot.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
swupd.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
urpmi.py Deprecation of parameters triggering the parameter-invalid sanity-check (#1927) 2021-03-05 08:17:36 +01:00
xbps.py Remove deprecated features scheduled for removal in 3.0.0 (#1926) 2021-03-09 21:23:20 +01:00
yum_versionlock.py yum_versionlock: do lock/unlock concurrently (#1912) 2021-02-26 23:16:40 +01:00
zypper.py Bugfix: Respect PATH env variable in zypper modules (#2094) 2021-03-25 22:30:35 +01:00
zypper_repository.py zypper_repository: fix idempotency on adding repo with releasever and basearch variables (#2722) 2021-06-08 08:23:32 +02:00