grdavies.role_nutanix_prism_api
Nutanix Role for Prism LCM Software & Firmware Updates
=========
This Ansible role uses LCM to check the current state and, if needed, update software and firmware.
Input Variables
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
role_nutanix_prism_api_host | yes | The IP address or fully qualified domain name (FQDN) of the Prism (Element or Central) you want to connect to. | ||
role_nutanix_prism_api_host_username | no | admin | A valid username with the rights needed to access the Nutanix API. | |
role_nutanix_prism_api_host_password | yes | A valid password for the provided username. | ||
role_nutanix_prism_api_host_port | no | 9440 | The TCP port for Prism. | |
role_nutanix_prism_api_host_validate_certs | no | no | true / false | Whether to confirm if the Prism UI certificates are valid. |
role_nutanix_prism_api_debug | no | false | true / false | Whether to enable debugging information. |
Returned Variables
Variable | Values | Comments |
---|---|---|
role_nutanix_prism_api_endpoint_type | 'pe' or 'pc' | Shows if the API session is for a Nutanix NCI cluster (Prism Element 'pe') or Nutanix NCM (Prism Central 'pc'). |
role_nutanix_prism_api_auth_string_b64 | Base64 'basic' authentication string for re-authenticating to the Nutanix Prism API. | |
role_nutanix_prism_api_url_base | Variable set to "role_nutanix_prism_api_host:role_nutanix_prism_api_host_port" to make lines shorter in other roles. |
Dependencies
- None
Example Playbook
This example playbook runs LCM on a specific cluster to only update "NCC" software.
- hosts: localhost
roles:
- role: grdavies.role_nutanix_prism_api
vars:
role_nutanix_prism_api_host: 10.38.185.37
role_nutanix_prism_api_host_username: admin
role_nutanix_prism_api_host_password: nx2Tech165!
License
See LICENSE.md
Author Information
Ross Davies
Informazioni sul progetto
Role to manage Nutanix API variables use by my other Nutanix roles
Installa
ansible-galaxy install grdavies.role_nutanix_prism_api
Licenza
mit
Download
104
Proprietario