1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/unbound/tasks/main.yml
Evangelos Foutras 578b781966
Capitalize the handler name in handler invocations
Fixes: 26f289b72bfb ("Capitalize the first letter of all task names")
2022-08-29 21:46:39 +03:00

14 lines
395 B
YAML

- name: Install unbound
pacman: name=unbound
- name: Install unbound config file
template: src=unbound.conf.j2 dest=/etc/unbound/unbound.conf owner=root group=root mode=0644
notify:
- Restart unbound
- name: Create remote-control keys
command: unbound-control-setup creates=/etc/unbound/unbound_control.key
- name: Active service
service: name=unbound state=started enabled=yes