--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/1dab2730-3052-4c09-9708-f79208d1f98a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We return what is emitted by the core ansible vmware inventory script (we call it behind the scenes):It looks like you can control this:We take some free-form configuration in the source_vars section of the inventory source so if you can figure out what specific value is needed for host_pattern to resolve what you want then you can put that in the "Source Vars" section of the Inventory Source when you are defining it.Unfortunately I don't use a lot of vmware so I can't help you figure out exactly what you need but the ini file I linked to should provide a good starting place. The ansible vmware inventory module uses pyvmomi behind the scenes which is a python interface to the vmware soap interface.
On Thu, Nov 2, 2017 at 5:04 PM, David Reagan <jer...@gmail.com> wrote:
I have two nics on my vm. One for normal network operations, another dedicated to our SAN. When my VMWare source adds the vm to the inventory, the ansible_host value is set to the ip of the SAN nic. As is ansible_ssh_host.
DNS is configured to use the normal network nic's ip address.
Is there a way to fix that?
Thanks!
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/1dab2730-3052-4c09-9708-f79208d1f98a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/caea6aca-49aa-4c67-b1f3-95d189a70b11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.