nsxt_upgrade_prechecks – Execute pre-upgrade checks

New in version 2.7.

Synopsis

  • Run pre-defined checks to identify potential issues which can be encountered during an upgrade or can cause an upgrade to fail. The results of the checks are added to the respective upgrade units aggregate-info. The progress and status of operation is part of upgrade status summary of individual components.

Parameters

Parameter Choices/Defaults Comments
hostname
string / required
Deployed NSX manager hostname.
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 run pre upgrade checks. 'absent' is used to abort preupgrade checks.
timeout
integer
Timeout while polling for prechecks to complete
username
string / required
The username to authenticate with the NSX manager.

Examples

- name: Runs and aborts pre-upgrade checks
  nsxt_upgrade_prechecks:
      hostname: "10.192.167.137"
      username: "admin"
      password: "Admin!23Admin"
      validate_certs: False
      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

  • Kommireddy Akhilesh