Skip to content

Infoblox inventory

Go to Automation

View in GitLab

Description

The script retrieves Infoblox inventory for Neon by querying server VLANs and Infoblox ranges. It uses Ansible to execute tasks on a localhost, including fetching VLAN information from Neon and querying Infoblox ranges using a PowerShell script. The script processes the retrieved data, updates SQL databases with IP addresses, hosts, and aliases, and ensures the data is accurate and up-to-date. It involves setting up credentials, importing necessary modules, and handling SQL operations to maintain the inventory.

Credentials

  • sys_infoblox_sg (Infoblox API User)
  • Neon API token
  • DG_ServersUser1 (SQL account)
  • sys_srvaapwin_batch (script user on srvaapwin)
  • sys_ansible_windows

Input

None

Output

updates database "Sql_db_dg_servers"

Dependencies