Class: Ansible::Ruby::Modules::Homebrew

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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_optionsArray<String>, ...

Returns options flags to install a package.

Returns:

  • (Array<String>, String, nil)

    options flags to install a package



30
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 30

attribute :install_options

#nameArray<String>, ...

Returns name of package to install/remove.

Returns:

  • (Array<String>, String, nil)

    name of package to install/remove



10
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 10

attribute :name

#pathString?

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.

Returns:

  • (String, nil)

    ‘:’ 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.

Returns:

  • (:head, :latest, :present, :absent, :linked, :unlinked, nil)

    state of the package



18
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 18

attribute :state

#update_homebrewBoolean?

Returns update homebrew itself first.

Returns:

  • (Boolean, nil)

    update homebrew itself first



22
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 22

attribute :update_homebrew

#upgrade_allBoolean?

Returns upgrade all homebrew packages.

Returns:

  • (Boolean, nil)

    upgrade all homebrew packages



26
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew.rb', line 26

attribute :upgrade_all