Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
How to change a fixed address reservation to a fixed address using Ansible?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2023 07:14 AM
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
Labels: