- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Ansible Play to add a Host Address without changing the existing addresses
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2018 05:22 PM
I am trying to add an additional address to an exisitng host record with an ansible playbook, I can not find an appropriate function either under the Nios Plugins under ansible 2.5 or under the infoblox.py functions. All of these seem to be intent on adding a new host record entirely. Currently everything I have tried seems to replace the existing host record with a new one that has the single IP address that I am trying to add. I have been able to successfully obtain the next record in a subnet, and then use that in a separate play, so I know that I have connectivity, and the api functionality is working. Any Help would be appreciated.
Re: Ansible Play to add a Host Address without changing the existing addresses
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2018 01:56 PM
This is not currently supported. I would suggest opening a github issue (https://github.com/ansible/ansible/issues) with this as a feature request.
Re: Ansible Play to add a Host Address without changing the existing addresses
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2019 11:20 PM
Is this feature actually supported from NIOS side, coz I have tried adding an IP address to existing host record and I get the error that: The record 'xyz' already exists. and this request I am firing directly via rest client and also via NIOS web UI. Can someone please update/clarify the behavior. Thanks
Re: Ansible Play to add a Host Address without changing the existing addresses
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2019 12:20 AM
You should be able to add an IP address to an existing host record (both through REST and Grid Manager UI).
It is, however, not possible to do this via Ansible and this is a known issue (as far as I know).