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:
parent
b4f89b78dd
commit
be9acc7fba
3 changed files with 7 additions and 5 deletions
2
changelogs/fragments/5241-homebrew-add-linux-path.yaml
Normal file
2
changelogs/fragments/5241-homebrew-add-linux-path.yaml
Normal 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).
|
|
@ -39,7 +39,7 @@ options:
|
|||
- "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,
|
||||
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
|
||||
state:
|
||||
description:
|
||||
|
@ -876,7 +876,7 @@ def main():
|
|||
elements='str',
|
||||
),
|
||||
path=dict(
|
||||
default="/usr/local/bin:/opt/homebrew/bin",
|
||||
default="/usr/local/bin:/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/bin",
|
||||
required=False,
|
||||
type='path',
|
||||
),
|
||||
|
|
|
@ -48,8 +48,8 @@ options:
|
|||
type: str
|
||||
path:
|
||||
description:
|
||||
- "A ':' separated list of paths to search for C(brew) executable."
|
||||
default: '/usr/local/bin:/opt/homebrew/bin'
|
||||
- "A C(:) separated list of paths to search for C(brew) executable."
|
||||
default: '/usr/local/bin:/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/bin'
|
||||
type: path
|
||||
version_added: '2.1.0'
|
||||
requirements: [ homebrew ]
|
||||
|
@ -219,7 +219,7 @@ def main():
|
|||
url=dict(default=None, required=False),
|
||||
state=dict(default='present', choices=['present', 'absent']),
|
||||
path=dict(
|
||||
default="/usr/local/bin:/opt/homebrew/bin",
|
||||
default="/usr/local/bin:/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/bin",
|
||||
required=False,
|
||||
type='path',
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue