mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
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>
This commit is contained in:
parent
4c50f1add7
commit
94a53adff1
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