merative / merative.spm_middleware / 1.5.6 / module / iim_info List packages installed by IBM Installation Manager | "added in version" 0.1.4 of merative.spm_middleware" Authors: Andrey Zhereshchin (@andrey-zhereshchin)merative.spm_middleware.iim_info (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
See what packages are installed by IBM Installation Manager.
If C(product_id) is provided, check if that specific package is installed.
--- - name: Check packages iim_info: iim_path: /opt/IBM/InstallationManager product_id: com.ibm.websphere.liberty.ND register: iim_info
- name: Install Liberty base (GA) product include_tasks: base_install.yml when: not iim_info.base_installed
iim_path: default: /opt/IBM/InstallationManager description: - Absolute path to an existing installation of IBM Installation Manager type: path product_id: description: - May be product family, or a specific product ID instance (including FixPack details) elements: str type: list
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