corrected comparisson which had accidentally chaned in previous fixes

This commit is contained in:
Brian Coca 2014-11-12 17:16:02 -05:00 committed by Matt Clay
parent 9de01b8e10
commit 5d16410518

View file

@ -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,