Class: Ansible::Ruby::Modules::Homebrew
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Homebrew
- Defined in:
- lib/ansible/ruby/modules/generated/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>, ...
List of names of packages to install/remove.
-
#path ⇒ String?
A ‘:’ separated list of paths to search for ‘brew’ executable.
-
#state ⇒ :head, ...
State of the package.
-
#update_homebrew ⇒ :yes, ...
Update homebrew itself first.
-
#upgrade_all ⇒ :yes, ...
Upgrade all homebrew packages.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #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.
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew.rb', line 32 attribute :install_options |
#name ⇒ Array<String>, ...
Returns list of names of packages to install/remove.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew.rb', line 12 attribute :name |
#path ⇒ String?
Returns A ‘:’ 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.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew.rb', line 16 attribute :path |
#state ⇒ :head, ...
Returns state of the package.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew.rb', line 20 attribute :state |
#update_homebrew ⇒ :yes, ...
Returns update homebrew itself first.
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew.rb', line 24 attribute :update_homebrew |
#upgrade_all ⇒ :yes, ...
Returns upgrade all homebrew packages.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew.rb', line 28 attribute :upgrade_all |