Modules
Modules can be used from the command line or in a playbook task or in a role task.
Module Reference
The IBM Z HMC collection provides several modules. Reference material for each module contains documentation on what parameters the module accepts and what will returned.
- zhmc_adapter – Update adapters and create Hipersocket adapters
- zhmc_cpc – Update CPCs
- zhmc_crypto_attachment – Attach crypto resources to partitions
- zhmc_hba – Create HBAs in partitions
- zhmc_nic – Create NICs in partitions
- zhmc_partition – Create partitions
- zhmc_storage_group – Create storage groups
- zhmc_storage_group_attachment – Attach storage groups to partitions
- zhmc_storage_volume – Create storage volumes
- zhmc_user – Create HMC users
- zhmc_virtual_function – Create virtual functions in partitions
Module Documentation
You can also access the documentation of each module from the command line by using the ansible-doc command, for example:
$ ansible-doc ibm.ibm_zhmc.zhmc_adapter