Modules
The IBM Power Systems HMC collection contains modules that can be used in a playbook to automate tasks on HMC. Ansible executes each tasks on the target node and returns the result back to the controller. While different modules perform different tasks, their interfaces and responses follow similar patterns.
Module reference
Reference material for each module contains documentation on the accepted parameters and their expected values.
Contents:
- create_service_event – Creates or lists serviceable events on the Hardware Management Console (HMC)
- firmware_update – Change firmware level on Managed Systems
- hmc_command – Execute HMC command
- hmc_pwdpolicy – Manages the list, create, change and remove password policies of the HMC.
- hmc_update_upgrade – Manages the update and upgrade of the HMC
- hmc_user – Manage HMC users
- platform_update – Applies consolidated system firmware (update/upgrade), VIOS, SR-IOV, and I/O adapter updates, including optional partition migration
- power_network_bridge – Manages a Virtual Network Bridge on an IBM Power HMC managed system
- power_system – PowerOn, PowerOff, modify_syscfg, modify_hwres, facts of the Managed system
- powervm_client_network_adapter – Create, update, delete, and query Client Network Adapters (CNAs) on PowerVM logical partitions and Virtual I/O Servers
- powervm_dlpar – Dynamically managing resources of partition
- powervm_lpar_instance – Create, Delete, Shutdown, Activate, Restart, Facts and Install of PowerVM Partitions
- powervm_lpar_migration – Validate, migrate, and recover LPARs
- powervm_partition_profile – Create, Copy and Update PowerVM Partition Profiles
- powervm_virtual_network – Create and manage PowerVM Virtual Networks
- powervm_virtual_switches – Create and manage PowerVM Virtual Switches
- vios – Creation and management of Virtual I/O Server partition
- vios_alt_root_vg – Create/Cleanup an alternate rootvg disk on a VIOS
- vios_maintenance – Manage the vios backup
- vios_mapping_facts – Returns the VIOS mapping of physical, logical, and virtual devices as facts.
- vios_secure – Configures firewall settings and applies security hardening rules.
- vios_update_upgrade – Manages the update and upgrade of the VIOS from the HMC