Skip to main content

Overview of Update Demos in Playbooks

Overview of Update Demos in Playbooks

Update Demos in Playbooks demonstrate how to apply updates to AIX systems using Ansible modules. These demos include tasks for installing all updates, updating RPM images, and installing the latest level of install utilities.

Usage Examples

The playbook playbooks/demo_install_all_updates.yml showcases how to install all installp updates from a specified device, update RPM images, and install the latest install utilities. The playbook playbooks/demo_installp.yml demonstrates various installp actions such as listing software products, listing fixes, installing filesets, and removing filesets. The playbook playbooks/demo_flrtvc.yml is used to run the FLRTVC tool on AIX, which checks for recommended fixes and updates. The playbook playbooks/demo_shell_flrtvc_wget_ifix.yml shows how to synchronize ifixes, APAR CSV files, and FLRTVC files from a web server.

Main Functions

There are several main functions in this folder. Some of them are installing all installp updates, updating RPM images, and installing the latest level of install utilities. We will dive a little into installing all installp updates and updating RPM images.

Install All Installp Updates

The task Install all installp updates on device uses the ibm.power_aix.install_all_updates module to install all updates from the specified device.


This snippet demonstrates how to install all installp updates on a device using the ibm.power_aix.install_all_updates module.

    - name: Install all installp updates on device
ibm.power_aix.install_all_updates:
device: "{{ device_val }}"

Update RPM Images

The task Update any rpm images on your system uses the ibm.power_aix.install_all_updates module with the update_rpm parameter set to true to update RPM images from the specified device.


This snippet demonstrates how to update RPM images on your system using the ibm.power_aix.install_all_updates module with the update_rpm parameter.

    - name: Update any rpm images on your system, with newer technology levels from the /images directory
ibm.power_aix.install_all_updates:
device: "{{ device_val }}"
update_rpm: true

 

This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human