--- - name: Install the system resolv.conf template: src=resolv.conf dest=/etc/resolv.conf owner=root group=root mode=0644 when: install_resolvconf