Skip to content

Commit

Permalink
example for vms inventory (#410)
Browse files Browse the repository at this point in the history
Co-authored-by: Gevorg-Khachatryaan <Gevorg1050.1>
  • Loading branch information
Gevorg-Khachatryan-97 authored Oct 25, 2023
1 parent 8579162 commit b32df80
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/inventory/nutanix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
plugin: nutanix.ncp.ntnx_prism_vm_inventory
nutanix_host: <pc_ip>
nutanix_username: <user>
nutanix_password: <pass>
validate_certs: false
data: {"offset": 0, "length": 1000}
groups:
group_1: "'<name_prefix>' in name"
group_2: "'<vm_name>'==name"
keyed_groups:
- prefix: "host"
separator: ':'
key: "ansible_host"

0 comments on commit b32df80

Please sign in to comment.