THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

How to change a fixed address reservation to a fixed address using Ansible?

New Member
Posts: 1
852     0

Hi,

 

Im currently trying to automate the IP reservation workflow we are using. The problem im encountering right now is that we first create a fixed address reservation and later change it to a fixed address assigning a MAC address.

 

The fixed address reservation works perfectly using the ansible module and providing the mac option.

mac: 00:00:00:00:00:00

But when i try to edit this fixed address reservation by giving it an actual MAC address, I get an error that the IP is already used by a reservation. 

"changed": false, "code": "Client.Ibap.Data.Conflict", "msg": "IP address 10.16.1.7 is already used by a reservation.", "operation": "create_object", "type": "AdmConDataError"

 

Basically i want to know if there is a way to update the MAC address of a fixed address object using ansible.

Thanks & Regards

Nico

Showing results for 
Search instead for 
Did you mean: 

Recommended for You