nsxt_upgrade_plan – Upgrade plan settings for the component

New in version 2.7.

Synopsis

  • Upgrade plan settings for the component

Parameters

Parameter Choices/Defaults Comments
component_type
string / required
    Choices:
  • host
  • edge
  • mp
Component whose upgrade plan is to be changed
hostname
string / required
Deployed NSX manager hostname.
parallel
boolean / required
Upgrade Method to specify whether the upgrade is to be performed serially or in parallel
password
string / required
The password to authenticate with the NSX manager.
pause_after_each_group
boolean / required
Flag to indicate whether to pause the upgrade after upgrade of each group is completed
pause_on_error
boolean / required
Flag to indicate whether to pause the upgrade plan execution when an error occurs
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: Modifies default upgrade plan
  nsxt_upgrade_plan:
      hostname: "10.192.167.137"
      username: "admin"
      password: "Admin!23Admin"
      validate_certs: False
      component_type: 'host'
      parallel: True
      pause_after_each_group: True
      pause_on_error: True

Status

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

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

Authors

  • Kommireddy Akhilesh