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
* 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>
(cherry picked from commit be9acc7fba
)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
This commit is contained in:
parent
173c8b1dfa
commit
c0d11f631f
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.
|
- "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',
|
||||||
),
|
),
|
||||||
|
|
|
@ -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',
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue