Thank you Andrey for your solution. 👍
Original Message:
Sent: Mon February 26, 2024 05:13 AM
From: Andrey Klyachkin
Subject: FC Adapter Firmware Update
Do you know how to check if the update is required in an automated manner?
I know several options but none of them would suit for automation purposes imo. That's why I'd do quite easy:
- name: Update microcode ansible.builtin.command: cmd: diag -d "{{ item }}" -T download -c loop: "{{ adapters }}"
If it finds something to update, it updates. If it doesn't find anything, it will not update. Idempotence is guaranteed by AIX.
------------------------------
Andrey Klyachkin
https://www.power-devops.com
Original Message:
Sent: Mon February 26, 2024 04:49 AM
From: Andre Lutz
Subject: FC Adapter Firmware Update
Good tip, I'll give it a try.
But better as AIX modules because of the idempotent
------------------------------
Andre Lutz
Original Message:
Sent: Fri February 23, 2024 07:09 AM
From: Andrey Klyachkin
Subject: FC Adapter Firmware Update
Hi Andre,
would -c help? ;-)
diag -d fcs0 -T download -c
------------------------------
Andrey Klyachkin
https://www.power-devops.com
Original Message:
Sent: Thu February 22, 2024 05:38 AM
From: Andre Lutz
Subject: FC Adapter Firmware Update
Hello community,
has anyone of you already updated adapter firmware for a Fibre Channel adapter with ansible.
Manually it is with the command:
diag -d fcs0 -T download
But with this command you have to select the directory interactively.
Is there also a possibility for this with ansible?
Or do you have to create an idear for this?
------------------------------
Andre Lutz
SVA
------------------------------