Hello,
Is there any way in ansible playbook to disable all repositories while installing an package with yum.
I know below way to disable.
yum:
name: <package_name>
disablerepo: repo1, repo2,…repo n
state: present
But I wish to know, is there any shorter way than specifying all repo name in front of disablerepo. like below
yum:
name: <package_name>
disablerepo: *
state: present
or
yum:
name: <package_name>
disablerepo: all
state: present
Help appreciated.
Thank you !!