mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update homebrew documentation.
This commit is contained in:
parent
097ce84336
commit
155f6e4dd3
1 changed files with 8 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
|||
DOCUMENTATION = '''
|
||||
---
|
||||
module: homebrew
|
||||
author: Andrew Dunham
|
||||
author: Andrew Dunham and Daniel Jaouen
|
||||
short_description: Package manager for Homebrew
|
||||
description:
|
||||
- Manages Homebrew packages
|
||||
|
@ -35,7 +35,7 @@ options:
|
|||
state:
|
||||
description:
|
||||
- state of the package
|
||||
choices: [ 'head', 'latest', 'installed', 'linked', 'uninstalled' ]
|
||||
choices: [ 'head', 'latest', 'present', 'absent', 'linked', 'uninstalled' ]
|
||||
required: false
|
||||
default: present
|
||||
update_homebrew:
|
||||
|
@ -44,6 +44,11 @@ options:
|
|||
required: false
|
||||
default: "no"
|
||||
choices: [ "yes", "no" ]
|
||||
install_options:
|
||||
description:
|
||||
- options flags to install a package
|
||||
required: false
|
||||
default: null
|
||||
notes: []
|
||||
'''
|
||||
EXAMPLES = '''
|
||||
|
@ -55,6 +60,7 @@ EXAMPLES = '''
|
|||
- homebrew: name=foo state=linked
|
||||
- homebrew: name=foo state=absent
|
||||
- homebrew: name=foo,bar state=absent
|
||||
- homebrew: name=foo state=present install_options=with-baz,enable-debug
|
||||
'''
|
||||
|
||||
import os.path
|
||||
|
|
Loading…
Reference in a new issue