1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00
community.general/plugins
patchback[bot] 6070dc80d4
[PR #6837/e0324cdc backport][stable-7] rhsm_repository: refactor parsing of "subscription-manager repos" output (#6946)
rhsm_repository: refactor parsing of "subscription-manager repos" output (#6837)

Simplify a bit (and possibly speed it up a little) the parsing of the
output of `subscription-manager repos --list`:
- simplify skipping the lines that are not interesting: check the first
  character only, as it is enough to determine whether it contains
  repository data or not
- check the start of each line manually, rather than with regexp: a
  simple slice + lstrip() gives the same result

(cherry picked from commit e0324cdc90)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
2023-07-15 16:27:12 +02:00
..
action Shutdown systemd without sysv (#6171) 2023-05-09 20:10:09 +02:00
become [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
cache [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
callback [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
connection [PR #6824/59479b4a backport][stable-7] chroot: added an example (#6899) 2023-07-08 18:09:06 +02:00
doc_fragments [PR #6839/e5dc6978 backport][stable-7] proxmox module utils: better error msg when token fails with old proxmoxer (#6846) 2023-07-03 22:57:39 +02:00
filter [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
inventory [PR #6711/24f27a0b backport][stable-7] plugins/inventory/cobbler: Collect IP addresses for hosts and add opt… (#6727) 2023-06-19 08:01:37 +02:00
lookup [PR #6881/3e56da53 backport][stable-7] tss lookup plugin - Fetch secret by path (#6933) 2023-07-14 20:03:43 +02:00
module_utils [PR #6871/9adc82d5 backport][stable-7] Redfish: Added support for displaying and setting account types (#6919) 2023-07-12 22:25:47 +02:00
modules [PR #6837/e0324cdc backport][stable-7] rhsm_repository: refactor parsing of "subscription-manager repos" output (#6946) 2023-07-15 16:27:12 +02:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00