--- - name: Dell OpenManage Ansible device inventory details. hosts: ome gather_facts: false tasks: - name: Retrieve all vCenter information. dellemc.openmanage.omevv_vcenter_info: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" ca_path: "path/to/ca_file" delegate_to: localhost - name: Retrieve specific vCenter information. dellemc.openmanage.omevv_vcenter_info: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" ca_path: "path/to/ca_file" vcenter_hostname: "{{ vcenter_hostname }}" delegate_to: localhost