initial commit
This commit is contained in:
16
tasks/resolvconf.yml
Normal file
16
tasks/resolvconf.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
- name: resolvconf - install
|
||||
apt: name=resolvconf state=present
|
||||
tags: ['common', 'resolvconf']
|
||||
|
||||
- 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
|
||||
tags: ['common', 'resolvconf']
|
||||
|
||||
- name: resolvconf - start and enable
|
||||
service: name=resolvconf state=started enabled=yes
|
||||
tags: ['common', 'resolvconf']
|
||||
|
||||
Reference in New Issue
Block a user