mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-16 22:01:15 +00:00
outdated needed to see set changed
This commit is contained in:
@@ -209,7 +209,11 @@ def main():
|
||||
changed = True
|
||||
npm.install()
|
||||
elif state == 'latest':
|
||||
npm.install()
|
||||
installed, missing = npm.list()
|
||||
outdated = npm.list_outdated()
|
||||
if len(missing) or len(outdated):
|
||||
changed = True
|
||||
npm.install()
|
||||
else: #absent
|
||||
installed, missing = npm.list()
|
||||
if name in installed:
|
||||
|
||||
Reference in New Issue
Block a user