1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

homebrew: add Linux brew path to defaults (#5241)

* homebrew: add Linux brew path to defaults

* changelogs: add 5241 fragment

* homebrew_tap: add Linux brew path to defaults

* changelogs: update 5241 entry

* homebrew_tap: format path separator in desc

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Dawid Dziurla 2022-09-08 07:46:10 +02:00 committed by GitHub
parent b4f89b78dd
commit be9acc7fba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- homebrew, homebrew_tap - added Homebrew on Linux path to defaults (https://github.com/ansible-collections/community.general/pull/5241).

View file

@ -39,7 +39,7 @@ options:
- "A C(:) separated list of paths to search for C(brew) executable. - "A C(:) separated list of paths to search for C(brew) executable.
Since a package (I(formula) in homebrew parlance) location is prefixed relative to the actual path of I(brew) command, 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." providing an alternative I(brew) path enables managing different set of packages in an alternative location in the system."
default: '/usr/local/bin:/opt/homebrew/bin' default: '/usr/local/bin:/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/bin'
type: path type: path
state: state:
description: description:
@ -876,7 +876,7 @@ def main():
elements='str', elements='str',
), ),
path=dict( path=dict(
default="/usr/local/bin:/opt/homebrew/bin", default="/usr/local/bin:/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/bin",
required=False, required=False,
type='path', type='path',
), ),

View file

@ -48,8 +48,8 @@ options:
type: str type: str
path: path:
description: description:
- "A ':' separated list of paths to search for C(brew) executable." - "A C(:) separated list of paths to search for C(brew) executable."
default: '/usr/local/bin:/opt/homebrew/bin' default: '/usr/local/bin:/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/bin'
type: path type: path
version_added: '2.1.0' version_added: '2.1.0'
requirements: [ homebrew ] requirements: [ homebrew ]
@ -219,7 +219,7 @@ def main():
url=dict(default=None, required=False), url=dict(default=None, required=False),
state=dict(default='present', choices=['present', 'absent']), state=dict(default='present', choices=['present', 'absent']),
path=dict( path=dict(
default="/usr/local/bin:/opt/homebrew/bin", default="/usr/local/bin:/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/bin",
required=False, required=False,
type='path', type='path',
), ),