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:
- capture_vm – Capturing the Image out of the Virtual Machine.
- clone_vm – Takes Clone of the Virtual Machine.
- manage_vm – Performs the Manage operations on the Virtual Machine.
- migrate_vm – Migrating the Virtual Machine from one host to the other
- pin_vm – Performs the Pin VM operations.
- resize_vm – Resizes the VM based on the compute templates parameter.
- 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_vm – Takes the Snapshot of VM’s All/Boot/Specific volumes.
- unmanage_vm – Performs Unmanage operations on the Virtual Machine.
- volume_attach – Attach the Volume to the Virtual Machine.
- volume_detach – Detaches the Volume to the Virtual Machine.