ansible_cache/vmware/get_vcenter_information.yml
2024-12-27 12:47:45 +00:00

18 lines
431 B
YAML
Executable File

---
- name: Get vCenter information and print to CLI
hosts: all
roles:
- common
tasks:
- name: Collect configuration info
community.vmware.vmware_vcenter_settings_info:
hostname: "{{ vmware_vcenter_ip }}"
username: "{{ vmware_user }}"
password: "{{ vmware_vcenter_ip }}"
register: vcenter_configuration_info
- name: Print collected info
debug:
var: vcenter_configuration_info