Skip to content

Get host IP reservations by type

Go to Automation

View in GitLab

Description

Utilities to obtain multiple next available IP addresses for a network (batch), fetch host records and filter by name/type (e.g., mfk). Intended for multi-reservation workflows.

Credentials

  • infoblox_host
  • infoblox_username
  • infoblox_password

Input

  • target: comma-separated MAC list or provided via play variables (maclist derived from target in playbook)
  • ipad: example IP used in some lookups
  • search_string: substring to filter host records

Output

  • ipaddr_net: list of allocated IPs (no range)
  • ipaddr_rng: list of allocated IPs (range)
  • filtered_hosts: hosts containing search_string

Dependencies