Class: Ansible::Ruby::Modules::Bundler
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Bundler
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb
Instance Method Summary collapse
-
#binstub_directory ⇒ Object?
Only applies if state is C(present).
-
#chdir ⇒ String?
The directory to execute the bundler commands from.
-
#clean ⇒ Boolean?
Only applies if state is C(present).
-
#deployment_mode ⇒ Boolean?
Only applies if state is C(present).
-
#exclude_groups ⇒ String?
A list of Gemfile groups to exclude during operations.
-
#executable ⇒ String?
The path to the bundler executable.
-
#extra_args ⇒ Object?
A space separated string of additional commands that can be applied to the Bundler command.
-
#gem_path ⇒ String?
Only applies if state is C(present).
-
#gemfile ⇒ String?
Only applies if state is C(present).
-
#local ⇒ Boolean?
If set only installs gems from the cache on the target host.
-
#state ⇒ :present, ...
The desired state of the Gem bundle.
-
#user_install ⇒ Boolean?
Only applies if state is C(present).
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
#binstub_directory ⇒ Object?
Returns Only applies if state is C(present). Specifies the directory to install any gem bins files to. When executed the bin files will run within the context of the Gemfile and fail if any required gem dependencies are not installed. If C(chdir) is set then this path is relative to C(chdir).
50 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 50 attribute :binstub_directory |
#chdir ⇒ String?
Returns The directory to execute the bundler commands from. This directoy needs to contain a valid Gemfile or .bundle/ directory.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 18 attribute :chdir |
#clean ⇒ Boolean?
Returns Only applies if state is C(present). If set removes any gems on the target host that are not in the gemfile.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 26 attribute :clean |
#deployment_mode ⇒ Boolean?
Returns Only applies if state is C(present). If set it will only install gems that are in the default or production groups. Requires a Gemfile.lock file to have been created prior.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 38 attribute :deployment_mode |
#exclude_groups ⇒ String?
Returns A list of Gemfile groups to exclude during operations. This only applies when state is C(present). Bundler considers this a ‘remembered’ property for the Gemfile and will automatically exclude groups in future operations even if C(exclude_groups) is not set.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 22 attribute :exclude_groups |
#executable ⇒ String?
Returns The path to the bundler executable.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 10 attribute :executable |
#extra_args ⇒ Object?
Returns A space separated string of additional commands that can be applied to the Bundler command. Refer to the Bundler documentation for more information.
53 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 53 attribute :extra_args |
#gem_path ⇒ String?
Returns Only applies if state is C(present). Specifies the directory to install the gems into. If C(chdir) is set then this path is relative to C(chdir).
46 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 46 attribute :gem_path |
#gemfile ⇒ String?
Returns Only applies if state is C(present). The path to the gemfile to use to install gems.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 30 attribute :gemfile |
#local ⇒ Boolean?
Returns If set only installs gems from the cache on the target host.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 34 attribute :local |
#state ⇒ :present, ...
Returns The desired state of the Gem bundle. C(latest) updates gems to the most recent, acceptable version.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 14 attribute :state |
#user_install ⇒ Boolean?
Returns Only applies if state is C(present). Installs gems in the local user’s cache or for all users.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/bundler.rb', line 42 attribute :user_install |