Skip to content
Snippets Groups Projects
Commit 8c9c0676 authored by nimrod's avatar nimrod
Browse files

- Validate config as a task (Ansible's validate requires specifying the config file).

parent d0b15ade
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,6 @@
owner: root
group: 0
mode: 0o0644
validate: unbound-checkconf
notify:
- Restart Unbound
......@@ -76,6 +75,10 @@
notify:
- Update SMTPd database
- name: Validate config
command: unbound-checkconf
changed_when: False
- name: Enable service
service:
name: unbound
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment