aboutsummaryrefslogblamecommitdiffstats
path: root/roles/dns/tasks/main.yml
blob: 1b18833b75dbb6d822e5703493dda7e561dcd765 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                  
                                 


                          


                


                             

# 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: "0"
    group: "0"
    mode: "0644"

- name: check dns resolution
  shell: ping -c 1 google.com
remember that computers suck.