ansible / ansible.builtin / v2.9.27 / module / pkg5 Manages packages with the Solaris 11 Image Packaging System | "added in version" 1.9 of ansible.builtin" Authors: Peter Oliver (@mavit) preview | supported by communityansible.builtin.pkg5 (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
IPS packages are the native packages in Solaris 11 and higher.
- name: Install Vim pkg5: name: editor/vim
- name: Install Vim without refreshing publishers pkg5: name: editor/vim refresh: no
- name: Remove finger daemon pkg5: name: service/network/finger state: absent
- name: Install several packages at once pkg5: name: - /file/gnu-findutils - /text/gnu-grep
name: description: - An FRMI of the package(s) to be installed/removed/updated. - Multiple packages may be specified, separated by C(,). required: true state: choices: - absent - latest - present default: present description: - Whether to install (I(present), I(latest)), or remove (I(absent)) a package. be_name: description: - Creates a new boot environment with the given name. type: str version_added: '2.8' version_added_collection: ansible.builtin refresh: default: true description: - Refresh publishers before execution. type: bool version_added: '2.8' version_added_collection: ansible.builtin accept_licenses: aliases: - accept - accept_licences default: false description: - Accept any licences. type: bool