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
Hi !
I try to find a way to import vm from our Netbox to a inventory in ansible AWX,
but the problem is that our vms as mutliple ips and the primary_ip in netbox is not the ip we use to connect with ansible
(the primary_ip is not the ip we use to administrate vms)
Is there a way to sort interfaces by name to have the right ip in ansible_host for import them in ansible inventory ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi !
I try to find a way to import vm from our Netbox to a inventory in ansible AWX,
but the problem is that our vms as mutliple ips and the primary_ip in netbox is not the ip we use to connect with ansible
(the primary_ip is not the ip we use to administrate vms)
Is there a way to sort interfaces by name to have the right ip in ansible_host for import them in ansible inventory ?
thanks for help and have a nice day
Beta Was this translation helpful? Give feedback.
All reactions