Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot connect and get information of VMware cluster using Oracle Linux Automation Manager

Didier CaamanoMar 15 2025

Hello,

I have issues connecting and getting information from my VMware infrastructure using Oracle Linux Automation Manager 2.2.

The same playbook, without modification executes correctly on RedHat Automation Platform

Whenever I run the playbook I get this error:

ERROR! couldn't resolve module/action 'vmware.vmware_rest.vcenter_datacenter_info'. This often indicates a misspelling, missing collection, or incorrect module path.

I have been trying to install the collection manually, but I still cannot get the playbook to run.

This is the playbook:

---
- name: Gather Datacenter Information from VMware using REST API
hosts: localhost
gather_facts: no
collections:
- vmware.vmware_rest
tasks:
- name: Get Datacenter information
vmware.vmware_rest.vcenter_datacenter_info:
vcenter_hostname: "vcenter_server"
vcenter_username: "account"
vcenter_password: "some_password"
vcenter_validate_certs: no
register: datacenter_info

- name: Display datacenter information
debug:
var: datacenter_info

Any help is appreciated. I am having similar issues deploying VMs in VMware and running Windows updates on Windows servers; the only playbook I have been able to run using OLAM 2.2 is to update a Linux server using DNF. All my playbooks run as expected on my lab, which runs the RedHat Automation Platform.

Comments
Post Details
Added on Mar 15 2025
0 comments
168 views