homebrew: Aditional examples for documentation
This commit is contained in:
parent
3b5c7f2936
commit
c6aeaf00b1
1 changed files with 12 additions and 0 deletions
|
@ -69,10 +69,22 @@ options:
|
||||||
notes: []
|
notes: []
|
||||||
'''
|
'''
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
# Install formula foo with 'brew' in default path (C(/usr/local/bin))
|
||||||
- homebrew: name=foo state=present
|
- homebrew: name=foo state=present
|
||||||
|
|
||||||
|
# Install formula foo with 'brew' in alternate path C(/my/other/location/bin)
|
||||||
|
- homebrew: name=foo path=/my/other/location/bin state=present
|
||||||
|
|
||||||
|
# Update homebrew first and install formula foo with 'brew' in default path
|
||||||
- homebrew: name=foo state=present update_homebrew=yes
|
- homebrew: name=foo state=present update_homebrew=yes
|
||||||
|
|
||||||
|
# Update homebrew first and upgrade formula foo to latest available with 'brew' in default path
|
||||||
- homebrew: name=foo state=latest update_homebrew=yes
|
- homebrew: name=foo state=latest update_homebrew=yes
|
||||||
|
|
||||||
|
# Update homebrew and upgrade all packages
|
||||||
- homebrew: update_homebrew=yes upgrade_all=yes
|
- homebrew: update_homebrew=yes upgrade_all=yes
|
||||||
|
|
||||||
|
# Miscellaneous other examples
|
||||||
- homebrew: name=foo state=head
|
- homebrew: name=foo state=head
|
||||||
- homebrew: name=foo state=linked
|
- homebrew: name=foo state=linked
|
||||||
- homebrew: name=foo state=absent
|
- homebrew: name=foo state=absent
|
||||||
|
|
Loading…
Reference in a new issue