community.vmware.vmware_host_logbundle_info (4.2.0) — module

Gathers manifest info for logbundle

Authors: sky-joker (@sky-joker)

Install collection

Install with ansible-galaxy collection install community.vmware:==4.2.0


Add to requirements.yml

  collections:
    - name: community.vmware
      version: 4.2.0

Description

This module can be used to gather manifest information for logbundle from ESXi.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: fetch the manifests for logbundle from ESXi
  community.vmware.vmware_host_logbundle_info:
    hostname: "{{ vcenter_hostname }}"
    username: "{{ vcenter_username }}"
    password: "{{ vcenter_password }}"
    esxi_hostname: "{{ esxi_hostname }}"
  register: fetch_manifests_result

Inputs

    
port:
    default: 443
    description:
    - The port number of the vSphere vCenter or ESXi server.
    - If the value is not specified in the task, the value of environment variable E(VMWARE_PORT)
      will be used instead.
    type: int

hostname:
    description:
    - The hostname or IP address of the vSphere vCenter or ESXi server.
    - If the value is not specified in the task, the value of environment variable E(VMWARE_HOST)
      will be used instead.
    type: str

password:
    aliases:
    - pass
    - pwd
    description:
    - The password of the vSphere vCenter or ESXi server.
    - If the value is not specified in the task, the value of environment variable E(VMWARE_PASSWORD)
      will be used instead.
    type: str

username:
    aliases:
    - admin
    - user
    description:
    - The username of the vSphere vCenter or ESXi server.
    - If the value is not specified in the task, the value of environment variable E(VMWARE_USER)
      will be used instead.
    type: str

proxy_host:
    description:
    - Address of a proxy that will receive all HTTPS requests and relay them.
    - The format is a hostname or a IP.
    - If the value is not specified in the task, the value of environment variable E(VMWARE_PROXY_HOST)
      will be used instead.
    required: false
    type: str

proxy_port:
    description:
    - Port of the HTTP proxy that will receive all HTTPS requests and relay them.
    - If the value is not specified in the task, the value of environment variable E(VMWARE_PROXY_PORT)
      will be used instead.
    required: false
    type: int

esxi_hostname:
    description:
    - Name of the host system to fetch the manifests for logbundle.
    required: true
    type: str

validate_certs:
    default: true
    description:
    - Allows connection when SSL certificates are not valid. Set to V(false) when certificates
      are not trusted.
    - If the value is not specified in the task, the value of environment variable E(VMWARE_VALIDATE_CERTS)
      will be used instead.
    type: bool

Outputs

manifests:
  description: list of dictionary of manifest information for logbundle
  returned: always
  sample:
  - enabled: 'true'
    group: System
    id: System:Base
    name: Base
    vmOnly: 'false'
  - enabled: 'false'
    group: System
    id: System:BaseMinmal
    name: BaseMinmal
    vmOnly: 'false'
  - enabled: 'true'
    group: Fcd
    id: Fcd:Catalog
    name: Catalog
    vmOnly: 'false'
  - enabled: 'false'
    group: VirtualMachines
    id: VirtualMachines:CoreDumpHung
    name: CoreDumpHung
    vmOnly: 'true'
  - enabled: 'true'
    group: System
    id: System:CoreDumps
    name: CoreDumps
    vmOnly: 'false'
  type: list