mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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 -*-
|
||||
|
||||
# (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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -20,6 +21,7 @@ DOCUMENTATION = '''
|
|||
---
|
||||
module: homebrew_cask
|
||||
author:
|
||||
- "Indrajit Raychaudhuri (@indrajitr)"
|
||||
- "Daniel Jaouen (@danieljaouen)"
|
||||
- "Enric Lluelles (@enriclluelles)"
|
||||
short_description: Install/uninstall homebrew casks.
|
||||
|
@ -46,7 +48,9 @@ options:
|
|||
EXAMPLES = '''
|
||||
- homebrew_cask: name=alfred state=present
|
||||
- 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
|
||||
|
@ -538,4 +542,3 @@ from ansible.module_utils.basic import *
|
|||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
|
|
Loading…
Reference in a new issue