|
|
@ -30,7 +30,7 @@ options:
|
|
|
|
name:
|
|
|
|
name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of a node.js library to install
|
|
|
|
- The name of a node.js library to install
|
|
|
|
requires: false
|
|
|
|
required: false
|
|
|
|
path:
|
|
|
|
path:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The base path where to install the node.js libraries
|
|
|
|
- The base path where to install the node.js libraries
|
|
|
@ -180,7 +180,7 @@ def main():
|
|
|
|
executable=dict(default=None),
|
|
|
|
executable=dict(default=None),
|
|
|
|
state=dict(default='present', choices=['present', 'absent', 'latest'])
|
|
|
|
state=dict(default='present', choices=['present', 'absent', 'latest'])
|
|
|
|
)
|
|
|
|
)
|
|
|
|
arg_spec['global']=dict(default='no', type='bool')
|
|
|
|
arg_spec['global'] = dict(default='no', type='bool')
|
|
|
|
module = AnsibleModule(
|
|
|
|
module = AnsibleModule(
|
|
|
|
argument_spec=arg_spec,
|
|
|
|
argument_spec=arg_spec,
|
|
|
|
supports_check_mode=True
|
|
|
|
supports_check_mode=True
|
|
|
|