Hi,
I am trying get VM facts from my VMware 6.5 environment and trying vmware_guest_facts. Below is my tasks/main.yml
---
- name: Gather facts from standalone ESXi server having datacenter
vmware_guest_facts:
username: some_user_name_here
password: password_here
datacenter: OFFICE
folder: OFFICE/vm/SISTEM
validate_certs: no
name: OSLTST02
register: facts
delegate_to: localhost
- name: debug message
debug:
msg: "{{ facts }}"
Is there any module that adds datastore and cluster information or should i change the current module?
I am planning to gather a vm fact and use that facts to clone a similar vm with different configuration. Any suggestion also welcomed.