1 2 3 4 5 6 7 8 9
--- resolv_configuration_file: /etc/resolv.conf resolv_dns_servers: - ip: 1.1.1.1 file: "{{ resolv_configuration_file }}.head" - ip: 8.8.8.8 file: "{{ resolv_configuration_file }}.tail"