Hi Kamil, Andrey !
This looks like a useful module to have.
Thanks for the request, we will include this in our list of future enhancements!
------------------------------
Shreyansh Chamola
------------------------------
Original Message:
Sent: Fri April 25, 2025 03:53 AM
From: Andrey Klyachkin
Subject: Missing feature - Ansible nimclient module for NIM operations from a client
Hi Shreyansh,
I think Kamil wrote it quite clear - there is no nimclient module and he wants to have it. /me too. There is no such functionality at all in power_aix collection.
I usually do updates on NIM clients, not on the NIM server:
- cust operation to install or update filesets (nimclient -o cust)
- allocate operation to assign resource to the client (nimclient -o allocate)
- deallocate operation to unassign resource from the client (nimclient -o deallocate)
- list to get information about defined NIM objects (nimclient -l)
------------------------------
Andrey Klyachkin
https://www.power-devops.com
Original Message:
Sent: Thu April 24, 2025 03:14 AM
From: Shreyansh Chamola
Subject: Missing feature - Ansible nimclient module for NIM operations from a client
Hi Kamil !
Sorry for the late reply.
Can you please elaborate upon what kind of tasks you want to perform on the NIM clients, which currently you are not able to achieve through the existing modules ?
------------------------------
Shreyansh Chamola
Original Message:
Sent: Sun January 19, 2025 08:22 AM
From: Kamil P
Subject: Missing feature - Ansible nimclient module for NIM operations from a client
Hello everyone!
I miss one feature in the aix collection, the nimclient module that would allow Network Installation Management (NIM) operations to be performed from a NIM client. Right now we have the ibm.power_aix.nim module that allows tasks to be performed from NIM side. This makes it difficult to use NIM if we are doing something with ansible on AIX servers (targets). I tried using delegate_to: nim_master
but it is not a perfect solution either (e.g. credantials).
Right now I do it like this:
---
- name: AIX System Update
hosts: aix_hosts
tasks:
- name: Perform AIX system update
shell: >
/usr/lpp/bos.sysmgt/nim/methods/c_sm_nim update_all
-l "{{ lpp_source }}"
-f 'Y' -f 'c' -f 'N' -f 'g' -f 'X'
Unless I missed something and it is possible in the current collection.
------------------------------
Kamil P
------------------------------