Please help…
We are getting below error while running “vcenter upgrade playbook”
ERROR! couldn’t resolve module/action ‘vmware_vcenter_upgrade’. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in ‘/home/kkrishnasamy/VCenter_Upgrade/VCenter_Upgrade.yml’: line 10, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: list vmware vcenter upgrade information
^ here
- hosts: localhost
name: VCenter_Upgrade
gather_facts: false
vars:
vcenter_hostname: “x.x.x.x”
vcenter_username: “administrator@vsphere.local”
vcenter_password: “Password123!”
tasks:- name: list vmware vcenter upgrade information
vmware_vcenter_upgrade:
hostname: ‘{{ vcenter_hostname }}’
username: ‘{{ vcenter_username }}’
password: ‘{{ vcenter_password }}’
state: ‘upgrade’
version: ‘7.0.3.01800’
delegate_to: localhost
- name: list vmware vcenter upgrade information