Modules
Ansible® modules can be used from the command line, in a playbook or in an role.
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.
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
- 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