mirror of
https://github.com/roles-ansible/ansible_role_unbound.git
synced 2024-08-16 13:39:49 +02:00
11 lines
208 B
YAML
11 lines
208 B
YAML
---
|
|
- name: unbound checkconf
|
|
command: unbound-checkconf /etc/unbound/unbound.conf
|
|
changed_when: True
|
|
notify: restart unbound
|
|
|
|
|
|
- name: restart unbound
|
|
service:
|
|
name: unbound
|
|
state: restarted
|