Ansible plugin to integrate with Nutanix Enterprise Cloud
ansible-galaxy collection build
ansible-galaxy collection install nutanix-nutanix-0.0.1-rc1.tar.gz
Add --force
option for rebuilding or reinstalling to overwrite existing data
nutanix_image_info
nutanix_image
nutanix_vm_info
nutanix_vm
nutanix_vm_inventory
ansible-doc nutanix.nutanix.<module_name>
- hosts: localhost
collections:
- nutanix.nutanix
tasks:
- nutanix_vm_info:
pc_hostname: {{ pc_hostname }}
pc_username: {{ pc_username }}
pc_password: {{ pc_password }}
validate_certs: False
register: result
- debug:
msg: "{{ result.vms }}"