ansible.builtin.homebrew_tap (v2.9.27) — module

Tap a Homebrew repository.

| "added in version" 1.6 of ansible.builtin"

Authors: Indrajit Raychaudhuri (@indrajitr), Daniel Jaouen (@danieljaouen)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Tap external Homebrew repositories.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- homebrew_tap:
    name: homebrew/dupes
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- homebrew_tap:
    name: homebrew/dupes
    state: absent
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- homebrew_tap:
    name: homebrew/dupes,homebrew/science
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- homebrew_tap:
    name: telemachus/brew
    url: 'https://bitbucket.org/telemachus/brew'

Inputs

    
url:
    description:
    - 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.
    required: false
    version_added: '2.2'
    version_added_collection: ansible.builtin

name:
    aliases:
    - tap
    description:
    - The GitHub user/organization repository to tap.
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description:
    - state of the repository.
    required: false