Author: | Andrew Dunham and Daniel Jaouen |
---|
parameter | required | default | choices | comments |
---|---|---|---|---|
install_options | no | options flags to install a package (added in Ansible 1.4) | ||
name | yes | name of package to install/remove | ||
state | no | present |
|
state of the package |
update_homebrew | no | no |
|
update homebrew itself first |
upgrade_all | no |
|
upgrade all homebrew packages |
- homebrew: name=foo state=present
- homebrew: name=foo state=present update_homebrew=yes
- homebrew: name=foo state=latest update_homebrew=yes
- homebrew: update_homebrew=yes upgrade_all=yes
- homebrew: name=foo state=head
- homebrew: name=foo state=linked
- homebrew: name=foo state=absent
- homebrew: name=foo,bar state=absent
- homebrew: name=foo state=present install_options=with-baz,enable-debug