Add additional examples for parameter install_options
in homebrew_cask
This commit is contained in:
parent
be64687bf5
commit
028aa0828c
1 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# (c) 2013, Daniel Jaouen <dcj24@cornell.edu>
|
# (c) 2013, Daniel Jaouen <dcj24@cornell.edu>
|
||||||
|
# (c) 2016, Indrajit Raychaudhuri <irc+code@indrajit.com>
|
||||||
#
|
#
|
||||||
# This module is free software: you can redistribute it and/or modify
|
# This module is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -20,6 +21,7 @@ DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: homebrew_cask
|
module: homebrew_cask
|
||||||
author:
|
author:
|
||||||
|
- "Indrajit Raychaudhuri (@indrajitr)"
|
||||||
- "Daniel Jaouen (@danieljaouen)"
|
- "Daniel Jaouen (@danieljaouen)"
|
||||||
- "Enric Lluelles (@enriclluelles)"
|
- "Enric Lluelles (@enriclluelles)"
|
||||||
short_description: Install/uninstall homebrew casks.
|
short_description: Install/uninstall homebrew casks.
|
||||||
|
@ -46,7 +48,9 @@ options:
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- homebrew_cask: name=alfred state=present
|
- homebrew_cask: name=alfred state=present
|
||||||
- homebrew_cask: name=alfred state=absent
|
- homebrew_cask: name=alfred state=absent
|
||||||
- homebrew_cask: name=alfred state=absent install_options="appdir=/Applications"
|
- homebrew_cask: name=alfred state=present install_options="appdir=/Applications"
|
||||||
|
- homebrew_cask: name=alfred state=present install_options="--debug appdir=/Applications"
|
||||||
|
- homebrew_cask: name=alfred state=absent install_options="--force"
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
|
@ -538,4 +542,3 @@ from ansible.module_utils.basic import *
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue