mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Prevent duplicate entries in rhsm_repository module (#48107)
* Complie regular expressions for better performance * Skip on empty lines This fixes a bug where the previous repo would be inserted in the result twice since an empty line did not match any of the conditions that would exit the loop iteration.
This commit is contained in:
3
changelogs/rhsm_repository-loop-fix-improvements.yaml
Normal file
3
changelogs/rhsm_repository-loop-fix-improvements.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- rhsm_repository - compile regular expressions to improve performance when looping over available repositories
|
||||
- rhsm_repository - prevent duplicate repository entries from being entered in the final command
|
||||
Reference in New Issue
Block a user