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
Ansible lookup zone data?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 03:24 PM
1127     0
I can lookup things like A records or AAAA records using a keyword like 'record:aaaa'. Is there a keyword I can use to lookup all of the DNS zones and how they are configured?
Here is an example of looking up a host record but I want to lookup all of the DNS zones
- name: get a host record ansible.builtin.set_fact: host: "{{ lookup('infoblox.nios_modules.nios_lookup', 'record:host', filter={'name': 'hostname.ansible.com'}) }}"
Re: Ansible lookup zone data?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 06:39 AM
1127     0
I have resorted to pulling the zone data from a csv export because I have a project that needs to be completed but it would still be nice to know if this is possible with Ansible and lookup.