dellemc.vxrail.dellemc_vxrail_lcm_v4 (1.3.0) — module

Perform a full upgrade or a partial upgrade with v4/upgrade api

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

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

Install collection

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


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 1.3.0

Description

This module will perform a partial upgrade of all VxRail software and hardware. It includes the optional variable "target_hosts_name", which indicates the nodes to be upgraded.If "target_hosts" is not provided, this module upgrades all nodes in cluster.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: LCM with v4 api
  dellemc_vxrail_lcm_v4:
    vxmip: "{{ vxmip }}"
    vcadmin: "{{ vcadmin }}"
    vcpasswd: "{{ vcpasswd }}"
    bundle: "{{ bundle }}"
    vc_root_account: "{{ vc_root_account }}"
    vc_root_passwd: "{{ vc_root_passwd }}"
    vxm_root_account: "{{ vxm_root_account }}"
    vxm_root_passwd: "{{ vxm_root_passwd }}"
    target_hosts_name: "{{ target_hosts_name }}"

Inputs

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

bundle:
    description: the path of lcm bundle on vxm, which is recommended under /data/store2
    required: true
    type: str

timeout:
    default: 21600
    description: Time out value for LCM Upgrade, the default value is 21600 seconds
    required: false
    type: int

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

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

vc_root_passwd:
    description: The password for the root account provided in vcroot
    required: true
    type: str

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

vxm_root_passwd:
    description: The password for the root account provided in vxm
    required: true
    type: str

vxm_root_account:
    description: root account of VxRail Manager
    required: true
    type: str

target_hosts_name:
    default: all
    description: target hosts name for partial upgrade
    required: false
    type: str

Outputs

LCM_status:
  description: LCM status summary
  returned: always
  sample: "{\n \"LCM_V4API_Uprade\": {\n     \"request_id\": \"2ce09bde-d987-4fff-8f90-6fc430e2bfc3\"\
    ,\n     \"status\": \"COMPLETED\"\n }\n \"msg\": \"LCM is successful. Please see\
    \ the /tmp/vxrail_ansible_lcm_v4.log for more details\"\n}"
  type: dict
changed:
  description: Whether or not the resource has changed.
  returned: always
  type: bool