Debian Codegraph @

ansible_collections/community/vmware/tests/integration/targets/vmware_host_dns/tasks/teardown.yaml

raw
1 - name: Revert to original DNS configuration
2 vmware_host_dns:
3 hostname: '{{ vcenter_hostname }}'
4 username: '{{ vcenter_username }}'
5 password: '{{ vcenter_password }}'
6 esxi_hostname: "{{ item }}"
7 validate_certs: false
8 type: 'static'
9 host_name: "{{ dns['results'][index]['hosts_dns_info'][item]['host_name'] }}"
10 domain: "{{ dns['results'][index]['hosts_dns_info'][item]['domain_name'] }}"
11 dns_servers: "{{ dns['results'][index]['hosts_dns_info'][item]['ip_address'] }}"
12 search_domains: "{{ dns['results'][index]['hosts_dns_info'][item]['search_domain'] }}"
13 loop: "{{ esxi_hosts }}"
14 loop_control:
15 index_var: index