Commit 1f1eab80 authored by nimrod's avatar nimrod
Browse files

- Validate config during role run (won't restart service with a faulty config).

parent d6d5db34
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
      owner: root
      group: 0
      mode: 0o0644
      validate: 'nsd-checkconf {{ nsd_conf }}'
  notify:
      - Restart NSD

@@ -48,6 +49,7 @@
      owner: root
      group: 0
      mode: 0o644
      validate: 'nsd-checkconf {{ nsd_conf }}'
  notify:
      - Restart NSD