Class: Ansible::Ruby::Modules::Npm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Npm
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb
Instance Method Summary collapse
-
#executable ⇒ String?
The executable location for npm.,This is useful if you are using a version manager, such as nvm.
-
#global ⇒ Boolean?
Install the node.js library globally.
-
#ignore_scripts ⇒ Boolean?
Use the –ignore-scripts flag when installing.
-
#name ⇒ String?
The name of a node.js library to install.
-
#path ⇒ String?
The base path where to install the node.js libraries.
-
#production ⇒ Boolean?
Install dependencies in production mode, excluding devDependencies.
-
#registry ⇒ String?
The registry to install modules from.
-
#state ⇒ :present, ...
The state of the node.js library.
-
#version ⇒ String?
The version to be installed.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#executable ⇒ String?
Returns The executable location for npm.,This is useful if you are using a version manager, such as nvm.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 26 attribute :executable |
#global ⇒ Boolean?
Returns Install the node.js library globally.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 22 attribute :global |
#ignore_scripts ⇒ Boolean?
Returns Use the –ignore-scripts flag when installing.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 30 attribute :ignore_scripts |
#name ⇒ String?
Returns The name of a node.js library to install.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 10 attribute :name |
#path ⇒ String?
Returns The base path where to install the node.js libraries.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 14 attribute :path |
#production ⇒ Boolean?
Returns Install dependencies in production mode, excluding devDependencies.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 34 attribute :production |
#registry ⇒ String?
Returns The registry to install modules from.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 38 attribute :registry |
#state ⇒ :present, ...
Returns The state of the node.js library.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 42 attribute :state |
#version ⇒ String?
Returns The version to be installed.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/npm.rb', line 18 attribute :version |