aboutsummaryrefslogblamecommitdiffstats
path: root/roles/dns/tasks/main.yml
blob: 41cfe8e33eb09c7641d5a1d72d0ce6c6a49324f4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                  

# dns ~~ roles/dns/tasks/main.yml
# ensure host is using unified dns

---

- name: ensure dns
  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
remember that computers suck.