blob: 3e84009220e89bfd203eddc5a681bef72f6ba971 (
plain) (
tree)
|
|
# dns ~~ roles/dns/tasks/main.yml
# ensure host is using unified dns
---
- name: ensure dns are up to date
template:
src: resolv.conf.j2
dest: /etc/resolv.conf
owner: "{{ user_root }}"
group: "{{ group_root }}"
mode: 0644
- name: check dns resolution
shell: ping -c 1 google.com
|