New in version 1.9.
parameter | required | default | choices | comments |
---|---|---|---|---|
accept_licenses |
no |
|
Accept any licences.
aliases: accept_licences, accept
|
|
name |
yes |
An FRMI of the package(s) to be installed/removed/updated.
Multiple packages may be specified, separated by
, . |
||
state |
no | present |
|
Whether to install (present, latest), or remove (absent) a package.
|
# Install Vim: - pkg5: name: editor/vim # Remove finger daemon: - pkg5: name: service/network/finger state: absent # Install several packages at once: - pkg5: name: - /file/gnu-findutils - /text/gnu-grep
Note
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.