diff --git a/examples/inventory/ansible.cfg b/examples/inventory/ansible.cfg new file mode 100644 index 00000000..7c5781ba --- /dev/null +++ b/examples/inventory/ansible.cfg @@ -0,0 +1,7 @@ +[defaults] +inventory = nutanix.yaml + +[inventory] +enable_plugins = nutanix.ncp.ntnx_prism_vm_inventory + + diff --git a/examples/inventory/nutanix.yaml b/examples/inventory/nutanix.yaml new file mode 100644 index 00000000..b38ba655 --- /dev/null +++ b/examples/inventory/nutanix.yaml @@ -0,0 +1,13 @@ +plugin: nutanix.ncp.ntnx_prism_vm_inventory +nutanix_hostname: +nutanix_username: +nutanix_password: +validate_certs: false +data: {"offset": 0, "length": 1000} +groups: + group_1: "'' in name" + group_2: "''==name" +keyed_groups: + - prefix: "host" + separator: ':' + key: "ansible_host" \ No newline at end of file