mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix yum module failing to initalize yum plugins
This commit is contained in:
parent
0d0b78dd1e
commit
a8f7fda210
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ def yum_base(conf_file=None):
|
|||
my = yum.YumBase()
|
||||
my.preconf.debuglevel=0
|
||||
my.preconf.errorlevel=0
|
||||
my.preconf.plugins = True
|
||||
if conf_file and os.path.exists(conf_file):
|
||||
my.preconf.fn = conf_file
|
||||
if os.geteuid() != 0:
|
||||
|
|
Loading…
Reference in a new issue