role_nutanix_pc_svc_dr
Nutanix Role to manage the VM DR service within Prism Central
This Ansible role manages the virtual machine DR service on Prism Central.
Input Variables
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
role_nutanix_pc_svc_dr_host | yes | The IP address or FQDN for the Prism Centra) where you want to enable the service. | ||
role_nutanix_pc_svc_dr_host_username | no | "admin" | A valid username with appropriate rights to access the Nutanix API. | |
role_nutanix_pc_svc_dr_host_password | yes | A valid password for the supplied username. | ||
role_nutanix_pc_svc_dr_host_port | no | 9440 | The Prism TCP port | |
role_nutanix_pc_svc_dr_host_validate_certs | no | false | true / false | Whether to check if Prism UI certificates are valid. |
role_nutanix_pc_svc_dr_debug | no | false | true / false | Whether to output variable contents for debugging purposes. |
role_nutanix_pc_svc_dr_enable | yes | true / false | Set to 'true' to enable Prism DR. |
Dependencies
- grdavies.role_nutanix_prism_api
- grdavies.role_nutanix_prism_monitor_task
Example Playbook
- hosts: localhost
gather_facts: false
roles:
- role: grdavies.role_nutanix_pc_svc_dr
vars:
role_nutanix_pc_svc_dr_host: 10.38.179.39
role_nutanix_pc_svc_dr_host_username: admin
role_nutanix_pc_svc_dr_host_password: nx2Tech283!
role_nutanix_pc_svc_dr_enable: true
License
See LICENSE.md
Author Information
Ross Davies
Install
ansible-galaxy install grdavies-ansible/role_nutanix_pc_svc_dr
License
mit
Downloads
39
Owner