summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Torbett <edward@torbett.co.uk>2015-06-12 11:18:14 +0100
committerToshio Kuratomi <toshio@fedoraproject.org>2015-06-15 17:43:12 -0700
commit44d44d85e7182641a1c38a43a4cc2af6e2f1857d (patch)
treed418f55d717900e37a135eedf7ddb4137f2e7b93
parent1ad75ce0e783e3190fcb3c0560ec94f934daa457 (diff)
downloadansible-modules-core-44d44d85e7182641a1c38a43a4cc2af6e2f1857d.tar.gz
Corrected pkg to pkgs as noted by @abadger
-rw-r--r--packaging/os/yum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/os/yum.py b/packaging/os/yum.py
index a52d33be..fc41ad8f 100644
--- a/packaging/os/yum.py
+++ b/packaging/os/yum.py
@@ -657,7 +657,7 @@ def remove(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos):
if pkgs:
# run an actual yum transaction
- cmd = yum_basecmd + ["remove"] + pkg
+ cmd = yum_basecmd + ["remove"] + pkgs
if module.check_mode:
module.exit_json(changed=True)