diff options
author | Daniel Kimsey <dkimsey@trustwave.com> | 2015-12-09 11:59:16 -0600 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-12-10 08:09:20 -0800 |
commit | 6e5dd79ae2df107cb196c3e8125399cacfcfb553 (patch) | |
tree | 4d2c2de47ffb2458fdbe5187061207d79199ca70 | |
parent | 52321e35ef765b6988ac7f3258d03e4401724da8 (diff) | |
download | ansible-modules-core-6e5dd79ae2df107cb196c3e8125399cacfcfb553.tar.gz |
Fix yum module failing to initalize yum plugins
-rw-r--r-- | packaging/os/yum.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/os/yum.py b/packaging/os/yum.py index c2b389c5..7fd66c9a 100644 --- a/packaging/os/yum.py +++ b/packaging/os/yum.py @@ -175,6 +175,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: |