dellemc.vxrail.dellemc_vxrail_vc_mode_change (2.2.0) — module

Change the VxRail vCenter or Platform Services Controller (PSC) mode

| "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 change the VxRail vCenter or Platform Services Controller (PSC) mode between embedded mode and external mode.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Start to change the VxRail vCenter mode
      dellemc_vxrail_vc_mode_change:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        vc_mode: "{{ vc_mode }}"
        psc_mode: "{{ psc_mode }}"
        timeout: "{{ timeout }}"
        api_version_number: "{{ api_version_number }}"

Inputs

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

timeout:
    default: 1800
    description: Time out value for converting vc, the default value is 60 seconds
    required: false
    type: int

vc_mode:
    description: Target vCenter mode, allowed values is EXTERNAL, EMBEDDED.
    required: true
    type: str

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

psc_mode:
    description: Target PSC mode, allowed values is EMBEDDED, EXTERNAL.
    required: true
    type: str

vcpasswd:
    description: The password for the administrator account provided in vcadmin
    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

Outputs

Patch_VC_Mode_API:
  description: Returns the request ID and whether the operation was successful.
  returned: always
  sample: "{\n    \"Request_ID\": \"SBI_2\",\n    \"Request_Status\": \"COMPLETED\"\
    \n}"
  type: dict