Select Git revision
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
main.yml 567 B
- name: Install unbound packages
apt: name=unbound state=present
tags:
- packages
- unbound
- name: Install unbound config
template: src=unbound.conf.j2 dest=/etc/unbound/unbound.conf.d/unbound.conf
tags:
- config
- unbound
notify:
- restart unbound
- name: Ensure unbound-control keys are present
command: /usr/sbin/unbound-control-setup
args:
creates: /etc/unbound/unbound_control.key
tags:
- unbound
- name: Enable unbound service
service: name=unbound state=started enabled=yes
tags:
- service
- unbound