Premier commit
This commit is contained in:
33
roles/dns-master/tasks/main.yml
Normal file
33
roles/dns-master/tasks/main.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
|
||||
- name: Installation bind9
|
||||
apt: name=bind9 state=present update_cache=yes
|
||||
|
||||
- name: Copie named.conf.options
|
||||
copy: src=named.conf.options dest=/etc/bind
|
||||
notify:
|
||||
- restart bind9
|
||||
|
||||
- name: Copie named.conf.local
|
||||
copy: src=named.conf.local dest=/etc/bind
|
||||
notify:
|
||||
- restart bind9
|
||||
|
||||
- name: Copie db.gsb.lan
|
||||
copy: src=db.gsb.lan dest=/etc/bind
|
||||
notify:
|
||||
- restart bind9
|
||||
|
||||
- name: Copie db.gsb.lan.rev
|
||||
copy: src=db.gsb.lan.rev dest=/etc/bind
|
||||
notify:
|
||||
- restart bind9
|
||||
|
||||
- name: Copie resolv.conf
|
||||
copy: src=resolv.conf dest=/etc
|
||||
notify:
|
||||
- restart bind9
|
||||
|
||||
- name: Copie page squidguard
|
||||
copy: src=forbidden.html dest=/var/www/
|
||||
|
Reference in New Issue
Block a user