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

18 lines
382 B
YAML

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