community.vmware.vmware_host_logbundle – Fetch logbundle file from ESXi¶
Note
This plugin is part of the community.vmware collection (version 1.9.0).
To install it use: ansible-galaxy collection install community.vmware
.
To use it in a playbook, specify: community.vmware.vmware_host_logbundle
.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.7
PyVmomi
Parameters¶
Examples¶
- name: fetch logbundle file from ESXi
community.vmware.vmware_host_logbundle:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
esxi_hostname: "{{ esxi_hostname }}"
dest: ./esxi-log.tgz
- name: fetch logbundle file from ESXi with manifests
community.vmware.vmware_host_logbundle:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
esxi_hostname: "{{ esxi_hostname }}"
dest: ./esxi-log.tgz
manifests:
- System:Base
- VirtualMachines:VirtualMachineStats
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
sky-joker (@sky-joker)