I'll give this a try.
Thanks again.
Original Message:
Sent: Tue March 04, 2025 01:37 AM
From: Lance Martincich
Subject: Nim bos_inst using AIX ansible collection
Hi Glenn
First make sure you are using the latest content collection ibm.power_aix version 2.0.3. Please see this link: The AIX Ansible collection - power_aix v2.0.3 is available now! (ibm.com).
With this version by default it should accept licenses on install. The allocation should happen as part of the operation so you shouldn't need to allocate it first.
A sample I use is below:
- name: Install AIX
ibm.power_aix.nim:
action: bos_inst
targets: "{{ target_host }}"
group: "{{ basic_res_grp }}"
However this would require you to setup the basic_res_grp in nim first which would contain the lpp_source, spot etc.
Kind regards
------------------------------
Lance Martincich
ERP Systems Engineer
City of Cape Town
Cape Town
+27832856514
Original Message:
Sent: Mon March 03, 2025 02:27 AM
From: Glenn Robinson
Subject: Nim bos_inst using AIX ansible collection
How do I use the ansible nim module to do a bos_inst?
I have the following nim command:
nim -o bos_inst -a source=rte -a lpp_source=lpp_Source_7200_05_04
-a spot=SPOT_7200_05_04 -a accept_licenses=yes -a boot_client=no myaixlpar
The nim module has an example:
- name: Install using group resource nim: action: bos_inst targets: nimclient01 group: basic_res_grp
Am I right to assume I need to use the nim allocate action first to allocate the lpp_source and SPOT?
Also, I don't see an accept_licenses option in the nim module.
Any guidance on this welcome.
------------------------------
Glenn Robinson
------------------------------