initial commit

This commit is contained in:
Farhad Shahbazi
2016-03-05 16:30:21 +01:00
parent 879fdc14b4
commit acc8f15e9e
18 changed files with 679 additions and 0 deletions

16
tasks/resolvconf.yml Normal file
View 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']