nsxt_manager_auto_deployment – Deploy and register a cluster node VM

New in version 2.7.

Synopsis

  • Deploys a cluster node VM as specified by the deployment config. Once the VM is deployed and powered on, it will automatically join the existing cluster.

Parameters

Parameter Choices/Defaults Comments
deployment_requests
array of ClusterNodeVMDeploymentRequest / required
Cluster node VM deployment requests to be deployed by the Manager.
hostname
string / required
Deployed NSX manager hostname.
node_id
string
Unique node-id of a principal
node_name
string
Unique node-name of a principal
password
string / required
The password to authenticate with the NSX manager.
state
- / required
    Choices:
  • present
  • absent
State can be either 'present' or 'absent'. 'present' is used to create or update resource. 'absent' is used to delete resource.
username
string / required
The username to authenticate with the NSX manager.

Examples

- name: Deploy and register a cluster node VM
  nsxt_manager_auto_deployment:
    hostname: "10.192.167.137"
    username: "admin"
    password: "Admin!23Admin"
    validate_certs: False
    deployment_requests:
    - roles:
    - MANAGER
    - CONTROLLER
      form_factor: "MEDIUM"
      user_settings:
        cli_password: "Admin!23Admin"
        root_password: "Admin!23Admin"
      deployment_config:
        placement_type: VsphereClusterNodeVMDeploymentConfig
        vc_id: "7503e86e-c502-46fc-8d91-45a06d314d88"
        management_network: "network-44"
        disk_provisioning: "LAZY_ZEROED_THICK"
        hostname: "manager-2"
        compute: "domain-c49"
        storage: "datastore-43"
        default_gateway_addresses:
        - 10.112.203.253
        management_port_subnets:
        - ip_addresses:
          - 10.112.201.25
          prefix_length: "19"
    state: present

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by the Ansible Community. [community]

Authors

  • Rahul Raghuvanshi