Modules

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

Module for HMC sessions:

Modules targeting the HMC (i.e. not a specific CPC):

Modules supported with CPCs in any operational mode:

Modules supported only with CPCs in DPM operational mode:

Modules supported only with CPCs in classic operational mode:

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