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
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, #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.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 30 attribute :install_options |
#name ⇒ Array<String>, ...
Returns name of package to install/remove.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 10 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.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 14 attribute :path |
#state ⇒ :head, ...
Returns state of the package.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 18 attribute :state |
#update_homebrew ⇒ Boolean?
Returns update homebrew itself first.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 22 attribute :update_homebrew |
#upgrade_all ⇒ Boolean?
Returns upgrade all homebrew packages.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 26 attribute :upgrade_all |