dbeniteza.websphere_appserver.iim_info module – List packages installed by IBM Installation Manager

Note

This module is part of the dbeniteza.websphere_appserver collection (version 1.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install dbeniteza.websphere_appserver.

To use it in a playbook, specify: dbeniteza.websphere_appserver.iim_info.

New in dbeniteza.websphere_appserver 0.1.0

Synopsis

  • See what packages are installed by IBM Installation Manager.

Parameters

Parameter

Comments

iim_path

path

Absolute path to an existing installation of IBM Installation Manager

Default: "/opt/IBM/InstallationManager"

product_id

list / elements=string

May be product family, or a specific product ID instance (including FixPack details)

Examples

---
- name: Check packages
  iim_info:
    iim_path: /opt/IBM/InstallationManager
    product_id: com.ibm.websphere.liberty.ND
  register: iim_info

- name: List packages intalled by IIM
  ansible.builtin.debug:
    msg: "Packages installed {{ iim_info.packages }}"
  when: iim_info.base_installed

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

base_installed

string

Indicator if the product is installed.

Returned: always

exact_installed

string

Indicator if the exact version of the product is installed.

Returned: when supported

packages

list / elements=string

List of installed packages.

Returned: always

Authors

  • Daniel Benitez Aguila (@dbeniteza)