I have a situation where I need to be able to disable all repos and enable my custom yum repo.
I’m trying to use the yum module w/ “disablerepo=*” and * doesn’t seem to be passed to the command line.
- name: always update corp-base
yum: disablerepo=* enablerepo=corp-base-noarch
state=latest name=$bootstrap_rpm
None of the repos are disabled. Is there some other way to pass “all” into the module?