ibmi_download_fix_status – Checking whether the fix downloading complete
Synopsis
The
ibmi_download_fix_status
module check the downloading fix’s status.
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- order_list
The order list of download ptf group
required: Truetype: listelements: str
Examples
- name: Check the fix order status
ibm.power_ibmi.ibmi_download_fix_status:
order_list:
- '2029604329'
- '2020579181'
- name: Check the fix order status with become user
ibm.power_ibmi.ibmi_download_fix_status:
order_list:
- '2029604329'
- '2020579181'
become_user: 'USER1'
become_user_password: 'yourpassword'
Notes
Note
Only support English language ibm i system, language ID 2924.
See SNDPTFORD command for more information.
Return Values
- status
The fix downloading status.returned: alwaystype: listsample:[{"complete_time": "2020-11-01 00:59:58", "download_status": "DOWNLOADED", "file_path": "/QIBM/UserData/OS/Service/ECS/PTF/2029604329", "order_id": "2029604329"}, {"complete_time": "UNKNOWN", "download_status": "UNKNOWN", "file_path": "UNKNOWN", "order_id": "2020579181"}]- rc
The SQL command action return code. 0 means success.returned: alwaystype: int