Automation with Power

 View Only

Missing feature - Ansible nimclient module for NIM operations from a client

  • 1.  Missing feature - Ansible nimclient module for NIM operations from a client

    Posted Sun January 19, 2025 08:22 AM

    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
    ------------------------------