New in version 1.6.
Manages Homebrew casks.
parameter | required | default | choices | comments |
---|---|---|---|---|
install_options (added in 2.2)
| no |
options flags to install a package aliases: options
|
||
name | yes |
name of cask to install/remove aliases: pkg, package, cask
|
||
path | no | /usr/local/bin | ':' separated list of paths to search for 'brew' executable. |
|
state | no | present |
| state of the cask |
update_homebrew (added in 2.2)
| no |
|
update homebrew itself first. Note that brew cask update is a synonym for brew update .aliases: update-brew
|
- homebrew_cask: name=alfred state=present - homebrew_cask: name=alfred state=absent - 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"
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/homebrew_cask_module.html