mirror of https://github.com/ansible/ansible.git
Set disabled repos before enabled repos
The ordering of disabling/enabling yum repositories matters, and
the yum module was mixing and matching the order. Specifically,
when yum-utils isn't installed, the codepath which uses the yum
python module was incorrectly ordering enabling and disabling.
The preferred order is to disable repositories and then enable them
to prevent clobbering. This was previously discussed in
ansible/ansible#5255 and incompletely addressed in 0cca4a3
.
reviewable/pr18780/r1
parent
f3e4704d92
commit
6d8437617c
Loading…
Reference in New Issue