community.general.homebrew_tap (0.1.1) — module

Tap a Homebrew repository.

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

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

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

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