dellemc.vxrail.dellemc_vxrail_lcm_customized_component (2.2.0) — module

Perform a upload with lcm upload api

| "added in version" 1.6.0 of dellemc.vxrail"

Authors: VxRail Development Team(@VxRailDevTeam) <ansible.team@dell.com>

Install collection

Install with ansible-galaxy collection install dellemc.vxrail:==2.2.0


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 2.2.0

Description

This module will upload a customized component for legacy lcm.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Start to upload customized component
      dellemc_vxrail_lcm_customized_component:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        customized_component: "{{ customized_component }}"
        checksum: "{{ checksum }}"
        type: "{{ type }}"
        component_bundle: "{{ component_bundle }}"
        timeout: "{{ timeout | default(omit) }}"
        api_version_number: "{{ api_version_number | default(omit) }}"

Inputs

    
type:
    description: Only support driver/firmware/bundle customized type
    required: true
    type: str

vxmip:
    description: The IP address of the VxRail Manager System
    required: true
    type: str

timeout:
    default: 3600
    description: Time out value for uploading customized component, the default value
      is 3600 seconds
    required: false
    type: int

vcadmin:
    description: Administrative account of the vCenter Server the VxRail Manager is registered
      to
    required: true
    type: str

checksum:
    description: Specifies the checksum of uploading file encoded in SHA512
    required: true
    type: str

vcpasswd:
    description: The password for the administrator account provided in vcadmin
    required: true
    type: str

component_bundle:
    description: The path of the file to be uploaded on the local machine
    required: true
    type: str

api_version_number:
    description: A specific version number to use for the API call. If not included, will
      use the highest version by default
    required: false
    type: int

customized_component:
    description: Specifies if the uploading file is a customized component. (true/false)
    required: true
    type: str

Outputs

UPLOAD_CUSTOMIZED_COMPONENT_API:
  description: The upload path of customized component.
  returned: always
  sample: "{\n    \"file\": \"/data/store2/customized/tmp/components/NVD-VGPU_460.32.04-1OEM.700.0.0.15525992_17478485.zip\"\
    \n}"
  type: dict