Add unbound to pkg list.

- Ensure haveged and unbound are started on boot
- Use local unbound for DNS needs.
This commit is contained in:
staticsafe 2014-05-06 17:57:02 +00:00
parent 78b575b512
commit 55561ca3ed
1 changed files with 6 additions and 1 deletions

View File

@ -17,9 +17,14 @@
- restart rsyslog
- restart cron
- name: Install required packages
apt: pkg=most,zsh,vim,vim-scripts,git,subversion,tmux,multitail,mtr-tiny,curl,dnsutils,sudo,gnupg,traceroute,htop,haveged,python-pip state=present
apt: pkg=most,zsh,vim,vim-scripts,git,subversion,tmux,multitail,mtr-tiny,curl,dnsutils,sudo,gnupg,traceroute,htop,haveged,python-pip,unbound state=present
- name: Remove exim4
apt: pkg=exim4-daemon-light state=absent
- name: Ensure haveged and unbound are started on boot
service: name=haveged enabled=yes
service: name=unbound enabled=yes
- name: use local unbound instance for DNS
shell: echo "nameserver ::1" > /etc/resolv.conf
handlers:
- name: restart rsyslog
service: name=rsyslog state=restarted