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
I want to create a new virtual machine, add an interface to the machine and add an IP address to the newly created interface. The thing is that the virtual machine name already exist on an other site so I have to use the virtual machine id to reference the virtual machine. I have recently learned that it is possible to do this by using
virtual_machine:
id: <vm_id>
Which is awesome! And works for creating the interface on the virtual machine. But creating an IP address and attaching it to the interface is giving me problems.
I have the following playbook that is giving me errors:
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
-
I want to create a new virtual machine, add an interface to the machine and add an IP address to the newly created interface. The thing is that the virtual machine name already exist on an other site so I have to use the virtual machine id to reference the virtual machine. I have recently learned that it is possible to do this by using
Which is awesome! And works for creating the interface on the virtual machine. But creating an IP address and attaching it to the interface is giving me problems.
I have the following playbook that is giving me errors:
This is throwing me an error: on the last step:
So I tried an different approach by accessing the object by device_id instead (received from the "add interface" step):
But that is giving me the following error:
Which I do not understand, as the number is "403".
So right now I have no clue how to add the IP address to the interface using device/interface.
Beta Was this translation helpful? Give feedback.
All reactions