Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preflight: old repos disablement refactor
This refacts the task that disables old repositories. The speeds up this task which seems to be currently very time consuming. ``` TASK [disable older rhceph repositories if any] **************************** changed: [localhost] => (item=rhceph-4-tools-for-rhel-8-x86_64-rpms) changed: [localhost] => (item=rhceph-4-mon-for-rhel-8-x86_64-rpms) changed: [localhost] => (item=rhceph-4-osd-for-rhel-8-x86_64-rpms) changed: [localhost] => (item=rhceph-5-tools-for-rhel-8-x86_64-rpms) PLAY RECAP ***************************************************************** localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 real 3m18.439s ``` ``` TASK [disable older rhceph repositories if any] *********** changed: [localhost] PLAY RECAP *********************************************** localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 real 0m47.198s ``` Also, this makes sure all previous repositories are disabled for both el8 and el9. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2181243 Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
- Loading branch information