Skip to content

yannickstruyf3/ansible-ahv-provider-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-ahv-provider-plugin

Ansible plugin to integrate with Nutanix Enterprise Cloud

Building and installing the collection locally

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

Included modules

nutanix_image_info
nutanix_image
nutanix_vm_info
nutanix_vm

Inventory plugin

nutanix_vm_inventory

Module documentation and examples

ansible-doc nutanix.nutanix.<module_name>

Examples

Playbook to print name of vms in PC

- 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 }}"

About

Ansible plugins to interact with AHV APIs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%