ghmsalinda.test.dellemc_vxrail_cluster_rmhost_v1 (1.3.0) — module

Remove a host from the cluster

| "added in version" 1.1.0 of ghmsalinda.test"

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

Install collection

Install with ansible-galaxy collection install ghmsalinda.test:==1.3.0


Add to requirements.yml

  collections:
    - name: ghmsalinda.test
      version: 1.3.0

Description

This module will Remove a host from the cluster.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove a node
  dellemc_vxrail_cluster_rmhost_v1:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        host_sn: "{{ host_sn }}"
        vc_root_account: "{{ vc_root_account }}"
        vc_root_passwd: "{{ vc_root_passwd }}"

Inputs

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

host_sn:
    description: Serial number of the host to be removed
    required: true
    type: str

timeout:
    default: 1800
    description: Time out value for Day1 bring up, the default value is 1800 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

Outputs

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