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
As discussed in the similar issue with inventory, there should be a parameter "vm" in addition to "device" parameter to manipulate IP addresses of VMs:
My bad, I had a typo. An endpoint can be found by using "virtual_machine" instead of "device".
So since devices and virtual_machines are different IDs, I understand the reasoning why both couldn't be searched with a single endpoint parameter. It will be more code in Ansible to handle devices and VMs separately but I guess it is needed, it is the only way to handle case where same name is shared by both a device and a VM.
ISSUE TYPE
SOFTWARE VERSIONS
Ansible:
2.9.6
Netbox:
2.6.1
Collection:
0.1.10
SUMMARY
Trying to add an IP address to a VM with
netbox_ip_address
fails. This seems to be similar to the bug in the Ansible bundled Netbox module.STEPS TO REPRODUCE
EXPECTED RESULTS
IP address should be assigned to the VM.
ACTUAL RESULTS
An error is displayed:
The text was updated successfully, but these errors were encountered: