From 028aa0828caa762d96b7ee28761189b651b6f3f8 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Thu, 21 Apr 2016 19:26:47 -0500 Subject: [PATCH] Add additional examples for parameter `install_options` in homebrew_cask --- lib/ansible/modules/extras/packaging/os/homebrew_cask.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/packaging/os/homebrew_cask.py b/lib/ansible/modules/extras/packaging/os/homebrew_cask.py index 20d9d8b61f..c85c04dde6 100755 --- a/lib/ansible/modules/extras/packaging/os/homebrew_cask.py +++ b/lib/ansible/modules/extras/packaging/os/homebrew_cask.py @@ -2,6 +2,7 @@ # -*- coding: utf-8 -*- # (c) 2013, Daniel Jaouen +# (c) 2016, Indrajit Raychaudhuri # # 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() -