diff options
author | Edward Torbett <edward@torbett.co.uk> | 2015-06-12 11:18:14 +0100 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-06-15 17:43:12 -0700 |
commit | 44d44d85e7182641a1c38a43a4cc2af6e2f1857d (patch) | |
tree | d418f55d717900e37a135eedf7ddb4137f2e7b93 | |
parent | 1ad75ce0e783e3190fcb3c0560ec94f934daa457 (diff) | |
download | ansible-modules-core-44d44d85e7182641a1c38a43a4cc2af6e2f1857d.tar.gz |
Corrected pkg to pkgs as noted by @abadger
-rw-r--r-- | packaging/os/yum.py | 2 |
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) |