corrected comparisson which had accidentally chaned in previous fixes

This commit is contained in:
Brian Coca 2014-11-12 17:16:02 -05:00
parent bbebdefacb
commit a13c568310

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,