Class: Ansible::Ruby::Modules::Homebrew_tap

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

Overview

Tap external Homebrew repositories.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#nameArray<String>, String

Returns The GitHub user/organization repository to tap.

Returns:

  • (Array<String>, String)

    The GitHub user/organization repository to tap.



12
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_tap.rb', line 12

attribute :name

#state:present, ...

Returns state of the repository.

Returns:

  • (:present, :absent, nil)

    state of the repository.



20
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_tap.rb', line 20

attribute :state

#urlString?

Returns The optional git URL of the repository to tap. The URL is not assumed to be on GitHub, and the protocol doesn’t have to be HTTP. Any location and protocol that git can handle is fine.,I(name) option may not be a list of multiple taps (but a single tap instead) when this option is provided.

Returns:

  • (String, nil)

    The optional git URL of the repository to tap. The URL is not assumed to be on GitHub, and the protocol doesn’t have to be HTTP. Any location and protocol that git can handle is fine.,I(name) option may not be a list of multiple taps (but a single tap instead) when this option is provided.



16
# File 'lib/ansible/ruby/modules/generated/packaging/os/homebrew_tap.rb', line 16

attribute :url