Class: Ansible::Ruby::Modules::Homebrew
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Homebrew
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb
Overview
Manages Homebrew packages
Instance Method Summary collapse
-
#install_options ⇒ Array<String>, ...
Options flags to install a package.
-
#name ⇒ Array<String>, ...
Name of package to install/remove.
-
#path ⇒ String?
‘:’ separated list of paths to search for ‘brew’ executable.
-
#state ⇒ :head, ...
State of the package.
-
#update_homebrew ⇒ Boolean?
Update homebrew itself first.
-
#upgrade_all ⇒ Boolean?
Upgrade all homebrew packages.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#install_options ⇒ Array<String>, ...
Returns options flags to install a package.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 31 attribute :install_options |
#name ⇒ Array<String>, ...
Returns name of package to install/remove.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 11 attribute :name |
#path ⇒ String?
Returns ‘:’ separated list of paths to search for ‘brew’ executable. Since A package (I(formula) in homebrew parlance) location is prefixed relative to the actual path of I(brew) command, providing an alternative I(brew) path enables managing different set of packages in an alternative location in the system.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 15 attribute :path |
#state ⇒ :head, ...
Returns state of the package.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 19 attribute :state |
#update_homebrew ⇒ Boolean?
Returns update homebrew itself first.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 23 attribute :update_homebrew |
#upgrade_all ⇒ Boolean?
Returns upgrade all homebrew packages.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 27 attribute :upgrade_all |