mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
package and upgrade are not mutually exclusive, but when both were set, upgrade didn't happen
This commit is contained in:
@@ -260,7 +260,7 @@ def main():
|
||||
if p['update_cache']:
|
||||
cache.update()
|
||||
cache.open(progress=None)
|
||||
if not p['package']:
|
||||
if not p['package'] and not p['upgrade']:
|
||||
module.exit_json(changed=False)
|
||||
|
||||
force_yes = p['force']
|
||||
|
||||
Reference in New Issue
Block a user