dbeniteza.websphere_appserver.iim_package module – Install/Update packages using 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_package.

New in dbeniteza.websphere_appserver 0.1.0

Synopsis

  • Install or update packages using IBM Installation Manager (must be installed using the “iim” role)

Parameters

Parameter

Comments

iim_path

path

Absolute path to an existing installation of IBM Installation Manager

Default: "/opt/IBM/InstallationManager"

path

path

Absolute path where the package should be installed

preferences

dictionary

A dictionary to be passed to the installer as preferences flag

product_id

string / required

Product ID to be installed/updated/deleted.

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

properties

dictionary

A dictionary to be passed to the installer as properties flag

repos

aliases: repo

list / elements=string

List of repositories to include when installing the package(s) specified by product_id

shared_resources

path

Absolute path to an existing location of the shared resources directory for IIM

Default: "/opt/IBM/IMShared"

state

string

Desired state of the package denoted by product_id

Choices:

  • "absent"

  • "present" ← (default)

Examples

---
- name: Install WebSphere Liberty
  iim_package:
    product_id: com.ibm.websphere.liberty.ND
    path: /opt/IBM/WebSphere/Liberty
    repo: /tmp/wlp-repo

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)