merative / merative.spm_middleware / 1.5.6 / module / iim_package Install/Update packages using IBM Installation Manager | "added in version" 0.1.0 of merative.spm_middleware" Authors: Andrey Zhereshchin (@andrey-zhereshchin)merative.spm_middleware.iim_package (1.5.6) — module
Install with ansible-galaxy collection install merative.spm_middleware:==1.5.6
collections: - name: merative.spm_middleware version: 1.5.6
Install or update packages using IBM Installation Manager (must be installed using the "iim" role)
--- - name: Install WebSphere Liberty iim_package: product_id: com.ibm.websphere.liberty.ND path: /opt/IBM/WebSphere/Liberty repo: /tmp/wlp-repo
path: description: - Absolute path where the package should be installed type: path repos: aliases: - repo description: - List of repositories to include when installing the package(s) specified by C(product_id) elements: str type: list state: choices: - absent - present default: present description: - Desired state of the package denoted by C(product_id) type: str iim_path: default: /opt/IBM/InstallationManager description: - Absolute path to an existing installation of IBM Installation Manager type: path product_id: description: - Product ID to be installed/updated/deleted. - May be product family, or a specific product ID instance (including FixPack details) elements: str required: true type: list properties: description: - A dictionary to be passed to the installer as properties flag type: dict preferences: description: - A dictionary to be passed to the installer as preferences flag type: dict shared_resources: default: /opt/IBM/IMShared description: - Absolute path to an existing location of the shared resources directory for IIM type: path
base_installed: description: Indicator if the product is installed. returned: always type: str exact_installed: description: Indicator if the exact version of the product is installed. returned: when supported type: str packages: description: List of installed packages. elements: str returned: always type: list