ibmi_fix_product_check – Check the software product installation status for a fix
Synopsis
The
ibmi_fix_product_check
module checks if the software product of a fix is installed.
Parameters
- become_user
The name of the user profile that the IBM i task will run under.
Use this option to set a user with desired privileges to run the task.
required: falsetype: str- become_user_password
Use this option to set the password of the user specified in
become_user
.required: falsetype: str- ptfs
The list of the PTF.
required: Truetype: listelements: dict
Examples
- name: Get PTF products installation status
ibm.power_ibmi.ibmi_fix_product_check:
ptfs:
- {
"product": "5770UME",
"ptf_id": "SI67856",
"release": "V1R4M0"
}
- {
"product": "5733SC1",
"ptf_id": "SI73751",
"release": "V7R2M0"
}
See Also
Return Values
- ptfs_with_product_installed
The PTF list which the product was installed.returned: always, empty list if error occurred or none of the product was installed.type: listsample:[{"product": "5770UME", "ptf_id": "SI67856", "release": "V1R4M0"}]- ptfs_without_product_installed
The PTF list which the product was not installed.returned: always, empty list if all of the products were installed.type: listsample:[{"product": "5733SC1", "ptf_id": "SI73751", "release": "V7R2M0"}]- rc
The return code (0 means success, non-zero means failure).returned: alwaystype: intsample: 255- msg
The error or success message.returned: alwaystype: strsample: Success to check software product installation status