--- # tasks file for windows_dns - name: Set a single address on the adapter named Ethernet ansible.windows.win_dns_client: adapter_names: 'Ethernet0' dns_servers: - 10.10.10.1