PowerVC

 View Only



LinkedIn Share on LinkedIn

Ansible modules for PowerVC now available on Ansible-galaxy

By Shyama Venugopal posted Tue March 04, 2025 09:03 AM

  

Have you ever wondered how easy it would be to automate exclusive PowerVC APIs using Ansible along side the Openstack Ansible playbooks? The wait is over! We are excited to announce PowerVC APIs are now available as Ansible modules , making integration smoother than ever. The cherry on the cake - you can now use these PowerVC modules within the same playbook as your OpenStack modules!

The initial release of modules includes powerful capabilities such as:

  • Creating virtual machines (VMs) with custom storage templates for images
  • Cloning VMs
  • Capturing VMs
  • Managing storage connectivity groups
  • Managing and unmanaging VMs, and much more. 

These modules use the same authentication mechanisms as Openstack. The auth parameters can be explicitly added as vars to the playbook or as a yaml config file in /etc/ansible/openstack.yaml, /etc/openstack/clouds.yaml or ~/.config/openstack/clouds.yaml.

Now, you can automate and manage both PowerVC and OpenStack resources in a single, unified workflow.

Please refer to the installation instructions here and the source code here . We would love to hear from you on other modules you would like to see and welcome contributions.

Co-authors:

Prabhuraj K (k.prabhuraj@in.ibm.com)

Kartheesh Kumar (karteesh.kumar.vipparapelli@partner.ibm.com)

1 comment
23 views

Permalink

Comments

Wed March 05, 2025 03:02 PM

Great job! It's great to see Ansible support expanding for the entire IBM Power Systems platform.

Funny enough, just two weeks ago, I wrote a playbook using the ansible.builtin.uri module to do something on PowerVC via the API! :)