From 065a2fe10d6f04718df1d7b013835abc814557b9 Mon Sep 17 00:00:00 2001 From: John Slay Date: Wed, 6 Dec 2017 16:03:32 -0600 Subject: [PATCH] Add requirements to npm module (#33641) npm is required in order for this module to work. --- lib/ansible/modules/packaging/language/npm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/packaging/language/npm.py b/lib/ansible/modules/packaging/language/npm.py index fed13921d0..2562187024 100644 --- a/lib/ansible/modules/packaging/language/npm.py +++ b/lib/ansible/modules/packaging/language/npm.py @@ -70,6 +70,8 @@ options: required: false default: present choices: [ "present", "absent", "latest" ] +requirements: + - npm installed in bin path (recommended /usr/local/bin) ''' EXAMPLES = '''