Change host record / add alias with MAC formatting
Description
Add an alias to a host record and create the host record if missing. Includes MAC normalization logic and options to create DHCP-enabled or disabled records.
Credentials
- infoblox_host
- infoblox_username
- infoblox_password
Input
- target: primary hostname
- alias: alias to add
- target_ip: IP to create host record with (if creating)
- enable_dhcp: 'yes' or 'no' when creating record
- mac_addr: optional MAC string to format/normalize
Output
- host_record: existing host record data
- updated_aliases: aliases after update