ansible-infra/roles/auth-dns/handlers/main.yaml

17 lines
341 B
YAML

- tags: [ auth-dns ]
name: restart knot
become: true
ansible.builtin.systemd:
name: knot.service
state: restarted
- tags: [ auth-dns ]
name: reload knot zones
become: true
ansible.builtin.command: "knotc zone-reload"
- tags: [ auth-dns ]
name: netplan apply
become: true
ansible.builtin.command: "netplan apply"