parameter |
required |
default |
choices |
comments |
category |
no |
|
|
Install/Remove category instead of a single package. (added in Ansible 1.6) |
name |
yes |
|
|
Package name, e.g. SUNWcsr |
proxy |
no |
|
|
HTTP[s] proxy to be used if src is a URL. |
response_file |
no |
|
|
Specifies the location of a response file to be used if package expects input on install. (added in Ansible 1.4) |
src |
no |
|
|
Specifies the location to install the package from. Required when state=present .Can be any path acceptable to the pkgadd command's -d option. e.g.: somefile.pkg , /dir/with/pkgs , http:/server/mypkgs.pkg .If using a file or directory, they must already be accessible by the host. See the copy module for a way to get them there. |
state |
yes |
|
|
Whether to install (present ), or remove (absent ) a package.If the package is to be installed, then src is required.The SVR4 package system doesn't provide an upgrade operation. You need to uninstall the old, then install the new package. |
zone |
no |
all |
|
Whether to install the package only in the current zone, or install it into all zones.The installation into all zones works only if you are working with the global zone. (added in Ansible 1.6) |