Files
ansible-role-common/tasks/resolvconf.yml
Farhad Shahbazi 3ed4105c79 tag cleanups
2016-11-24 16:25:58 +01:00

13 lines
369 B
YAML

---
- name: resolvconf - install
apt: name=resolvconf state=present
- name: resolvconf - tail file
template: dest=/etc/resolvconf/resolv.conf.d/tail src=resolvconf_tail.j2 owner=root group=root mode=0644
when: common_resolvconf_nameservers
notify: restart resolvconf
- name: resolvconf - start and enable
service: name=resolvconf state=started enabled=yes