mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-09 14:50:02 -07:00
zypper_repository: fix idempotency on adding repo with releasever and basearch variables (#2722) (#2753)
* 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>
(cherry picked from commit 94a53adff1
)
Co-authored-by: Amin Vakil <info@aminvakil.com>
This commit is contained in:
parent
42a1318fe3
commit
dbc0fe8859
3 changed files with 75 additions and 2 deletions
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
bugfixes:
|
||||
- zypper_repository - fix idempotency on adding repository with
|
||||
``$releasever`` and ``$basearch`` variables
|
||||
(https://github.com/ansible-collections/community.general/issues/1985).
|
Loading…
Add table
Add a link
Reference in a new issue