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 !! -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.