Brew Facts

See also: Brew Operations.

brew.BrewCasks

host.get_fact(BrewCasks)

Returns a dict of installed brew casks:

{
    "package_name": ["version"],
}

brew.BrewPackages

host.get_fact(BrewPackages)

Returns a dict of installed brew packages:

{
    "package_name": ["version"],
}

brew.BrewTaps

host.get_fact(BrewTaps)

Returns a list of brew taps.

brew.BrewVersion

host.get_fact(BrewVersion)

Returns the version of brew installed as a semantic versioning tuple:

[major, minor, patch]