From b36b12e96894aa29d281b7f874ea40be5a385a98 Mon Sep 17 00:00:00 2001 From: xiaclo Date: Mon, 4 May 2015 14:08:39 +1000 Subject: [PATCH] Allow NPM to update packages --- lib/ansible/modules/extras/packaging/language/npm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/packaging/language/npm.py b/lib/ansible/modules/extras/packaging/language/npm.py index d804efff33..a52b7599d8 100644 --- a/lib/ansible/modules/extras/packaging/language/npm.py +++ b/lib/ansible/modules/extras/packaging/language/npm.py @@ -250,7 +250,7 @@ def main(): outdated = npm.list_outdated() if len(missing) or len(outdated): changed = True - npm.install() + npm.update() else: #absent installed, missing = npm.list() if name in installed: