Does enablerepo= enable that specific repo only, meaning that I would
not need to have a disablerepo action before the enable?
-luke
Does enablerepo= enable that specific repo only, meaning that I would
not need to have a disablerepo action before the enable?
-luke
enablerepo just does the same as adding --enablerepo on the yum command line.
so - you'd want to disable other repos, too if you only want a specific repo to be accessed.
-sv
Well I'm getting the error -
failed: [x.0.1.1] => {"failed": true, "msg": "unsupported parameter
for module: disablerepo"}
My playbook has the following action before my enablerepo action -
action: yum disablerepo=*.repo
Do I just need to manually put all the repos in there... ?
your repos aren't named *.repo
I suspect the repo FILES in /etc/yum.repos.d are named .repo - but the repo ids (the things in inside those files are not named .repo.
-sv