thanks for your feedback. It's good to know that the change works and i will keep you updated when the collection is released.
Original Message:
Sent: Sun February 02, 2025 10:51 PM
From: Lance Martincich
Subject: IBM.POWER_AIX.NIM how do I accept license agreements?
Hi Niklas
Thanks for the suggestion. I got it working by doing the following edit in nim.py:
#cust_cmd = ['nim', '-o', 'cust']
cust_cmd = ['nim', '-o', 'cust',
'-a', 'lpp_source=' + lpp_source,
'-a', 'installp_bundle=' + installp_bundle,
'-a', 'accept_licenses=yes',
target]
I couldn't add the change correctly throughout but this hardcoded version works for now until I can get the official fix.
Kind regards
------------------------------
Lance Martincich
ERP Systems Engineer
City of Cape Town
Cape Town
+27832856514
Original Message:
Sent: Fri January 31, 2025 05:57 AM
From: Lance Martincich
Subject: IBM.POWER_AIX.NIM how do I accept license agreements?
Thank you Niklas.
I will look into editing nim.py in the interim and provide feedback.
Appreciate the assistance.
Kind regards
------------------------------
Lance Martincich
ERP Systems Engineer
City of Cape Town
Cape Town
+27832856514
Original Message:
Sent: Fri January 31, 2025 04:39 AM
From: Niklas Vosskoetter
Subject: IBM.POWER_AIX.NIM how do I accept license agreements?
Hey Lance,
there was no option to pass a accept_licenses to the command line via Ansible, but your request triggered the Ansible team and they created a Pull Request on Github to match your needs.
Github Pull Request: https://github.com/IBM/ansible-power-aix/pull/606/files
If you are able to test this change locally (for example by editing the nim.py in your local copy of the collection) you can provide some feedback here or on Github. It is not official released yet, so you are not able to use it by updating your Ansible aix collection to a newer version, so this is why I want to give you the hint to edit nim.py manually.
------------------------------
Niklas
System Engineer Unix and Cloud Service Power
------------------------------