You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the request
We are using the nutanix.ncp v1.9.2 collection with Ansible Automation Platform v2.4 for collecting constructed inventories for our Nutanix clusters. We need help with getting the nutanix.yml file set up correctly for the ntnx_prism_vm_inventory plugin. We are looking for examples for how to filter by clustername to exclude our Virtual Desktop VMs that are in a specific cluster.
We also have a need to have the ntnx_prism_vm_inventory plugin retrieve more information from the nutanix guesttools. Is there a way to have ntnx_prism_vm_inventory retrieve the FQDN of the VM or the network domain name so we can construct our inventories using only FQDN names. I can do this with the vmware plugin and aws ec2 plugin so I would like to be able to do the same with your ntnx_prism_vm_inventory plugin.
Current behaviour
We can use the nutanix.ncp.ntnx_prism_vm_inventory with a basic nutanix.yml file to connect to Nutanix Prism and collect an inventory of all known VMs. Not all Nutanix VMs can be ssh'd to by Ansible (example: CVM VMs, VDI VMs) and we eould like to be able to filter them out from the main inventory source. Currently we need to have our users take care to not include unwanted VMs from their own constructed inventories and it has been problematic.
Expected behaviour
We would like to be able to use something like the following in the nutanix.yml file for applying filers to collected inventory from Prism:
Describe the request
We are using the nutanix.ncp v1.9.2 collection with Ansible Automation Platform v2.4 for collecting constructed inventories for our Nutanix clusters. We need help with getting the nutanix.yml file set up correctly for the ntnx_prism_vm_inventory plugin. We are looking for examples for how to filter by clustername to exclude our Virtual Desktop VMs that are in a specific cluster.
We also have a need to have the ntnx_prism_vm_inventory plugin retrieve more information from the nutanix guesttools. Is there a way to have ntnx_prism_vm_inventory retrieve the FQDN of the VM or the network domain name so we can construct our inventories using only FQDN names. I can do this with the vmware plugin and aws ec2 plugin so I would like to be able to do the same with your ntnx_prism_vm_inventory plugin.
Current behaviour
We can use the nutanix.ncp.ntnx_prism_vm_inventory with a basic nutanix.yml file to connect to Nutanix Prism and collect an inventory of all known VMs. Not all Nutanix VMs can be ssh'd to by Ansible (example: CVM VMs, VDI VMs) and we eould like to be able to filter them out from the main inventory source. Currently we need to have our users take care to not include unwanted VMs from their own constructed inventories and it has been problematic.
Expected behaviour
We would like to be able to use something like the following in the nutanix.yml file for applying filers to collected inventory from Prism:
plugin: nutanix.ncp.ntnx_prism_vm_inventory
data:
filter: "vm_name != ABC-*"
filter: "vm_name=startswith(vm_name, 'ABC-')"
filter: "cluster != cluster010"
offset: 0
length: 10000
use_extra_vars: true
strict: false
...
The text was updated successfully, but these errors were encountered: