Modules
The IBM PowerVC collection contains modules that can be used in a playbook to automate tasks on PowerVC. Ansible executes each module 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:
- all_volumes – Fetches the Details of all the volumes
- auxiliary_volume – Manage Auxiliary Volume onboard jobs in PowerVC
- capture_vm – Capturing the Image out of the Virtual Machine.
- clone_vm – Takes Clone of the Virtual Machine.
- consistency_group – Create and update PowerVC Consistency Groups
- copy_volume_type – Takes Copy of the Volume Types/Storage Template.
- group_action – Perform action operations on a consistency group
- hmc_registration – Register or unregister an HMC host in IBM PowerVC.
- host_maintenance – Enable or disable host maintenance mode and migrate virtual machines in IBM PowerVC
- host_recall – Recall virtual machines back to a PowerVC host
- manage_vm – Performs the Manage operations on the Virtual Machine.
- manage_volume – Performs Manage operations on the Volumes.
- migrate_vm – Migrating the Virtual Machine from one host to the other
- novalink_registration – Register or unregister a NovaLink host in IBM PowerVC.
- pin_vm – Performs the Pin VM operations.
- resize_vm – Resizes the VM based on the compute templates parameter.
- retype_volume – Retype an IBM PowerVC volume
- scg_info – Fetches the Storage Connectivity Group Details.
- scg_operations – Performs the Create, Delete, Update on the Storage Connectivity Group.
- server – Create/Delete the Virtual Machines from PowerVC.
- snapshot_info – Fetches the Snapshot Details
- snapshot_vm – Takes the Snapshot of VM’s All/Boot/Specific volumes.
- unmanage_vm – Performs Unmanage operations on the Virtual Machine.
- unmanage_volume – Performs Unmanage operations on the Volumes.
- volume_attach – Attach the Volume to the Virtual Machine.
- volume_detach – Detaches the Volume to the Virtual Machine.
- volume_type_info – Fetches the Volume Type/Storage Templates Details
- volume_type_update – Performs the Volume Type Update Operations
- volume_update – Performs the Volume Update Operations