mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
corrected comparisson which had accidentally chaned in previous fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user