- "set system static-host-mapping host-name {{ vm_fqdn }} alias {{ vm_name }}"
save:no# CHANGE BEFORE ROLLOUT
when:dns_os == 'vyos-x86_64'
delegate_to:"{{ dns_host }}"
always:
- name:Debug
ansible.builtin.debug:
msg:"{{ dns_ip if dns_ip is defined }} - {{ dns_host if dns_host is defined }} - {{ dns_fqdn if dns_fqdn is defined }} - {{ dns_os if dns_os is defined }} - {{ vm_fqdn if vm_fqdn is defined }} - {{ zone if zone is defined }}"