Commit bc44c73f authored by nimrod's avatar nimrod
Browse files

Router: Small fix.

The first time unbound-anchor is run the exit code is 1.
parent 86c715dd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -44,6 +44,8 @@
  ansible.builtin.command:
    cmd: /usr/sbin/unbound-anchor -a /var/unbound/db/root.key
    creates: /var/unbound/db/root.key
  register: router_unbound_anchor
  failed_when: router_unbound_anchor.rc not in [0, 1]
  tags:
    - network
    - dns