mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 15:07:32 +00:00
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 |
||
|---|---|---|
| .. | ||
| action | ||
| become | ||
| cache | ||
| callback | ||
| connection | ||
| doc_fragments | ||
| filter | ||
| inventory | ||
| lookup | ||
| module_utils | ||
| modules | ||
| test | ||