community.general.installp – Manage packages on AIX¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.installp
.
Parameters¶
Notes¶
Note
If the package is already installed, even the package/fileset is new, the module will not install it.
Examples¶
- name: Install package foo
community.general.installp:
name: foo
repository_path: /repository/AIX71/installp/base
accept_license: yes
state: present
- name: Install bos.sysmgt that includes bos.sysmgt.nim.master, bos.sysmgt.nim.spot
community.general.installp:
name: bos.sysmgt
repository_path: /repository/AIX71/installp/base
accept_license: yes
state: present
- name: Install bos.sysmgt.nim.master only
community.general.installp:
name: bos.sysmgt.nim.master
repository_path: /repository/AIX71/installp/base
accept_license: yes
state: present
- name: Install bos.sysmgt.nim.master and bos.sysmgt.nim.spot
community.general.installp:
name: bos.sysmgt.nim.master, bos.sysmgt.nim.spot
repository_path: /repository/AIX71/installp/base
accept_license: yes
state: present
- name: Remove packages bos.sysmgt.nim.master
community.general.installp:
name: bos.sysmgt.nim.master
state: absent
Authors¶
Kairo Araujo (@kairoaraujo)