fix role name auth-dns -> auth_dns
This commit is contained in:
parent
38cad40790
commit
f9c1db8446
10 changed files with 9 additions and 7 deletions
19
roles/auth_dns/handlers/main.yaml
Normal file
19
roles/auth_dns/handlers/main.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
- name: restart knot
|
||||
tags: [ auth-dns ]
|
||||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue