From a13c56831010ae5f08e418531f3fd45f1477f765 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 12 Nov 2014 17:16:02 -0500 Subject: [PATCH] corrected comparisson which had accidentally chaned in previous fixes --- packaging/os/apt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/os/apt.py b/packaging/os/apt.py index e7d2ce4485c..ab08a06db63 100755 --- a/packaging/os/apt.py +++ b/packaging/os/apt.py @@ -525,7 +525,7 @@ def main(): p['default_release'], dpkg_options) if p['deb']: - if p['state'] == 'present': + if p['state'] != 'present': module.fail_json(msg="deb only supports state=present") install_deb(module, p['deb'], cache, install_recommends=install_recommends,