corrected comparisson which had accidentally chaned in previous fixes
This commit is contained in:
parent
9de01b8e10
commit
5d16410518
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ def main():
|
||||||
p['default_release'], dpkg_options)
|
p['default_release'], dpkg_options)
|
||||||
|
|
||||||
if p['deb']:
|
if p['deb']:
|
||||||
if p['state'] == 'present':
|
if p['state'] != 'present':
|
||||||
module.fail_json(msg="deb only supports state=present")
|
module.fail_json(msg="deb only supports state=present")
|
||||||
install_deb(module, p['deb'], cache,
|
install_deb(module, p['deb'], cache,
|
||||||
install_recommends=install_recommends,
|
install_recommends=install_recommends,
|
||||||
|
|
Loading…
Reference in a new issue