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
|
|
@ -105,4 +105,4 @@
|
||||||
- name: Setup authoritative dns servers
|
- name: Setup authoritative dns servers
|
||||||
hosts: auth-dns
|
hosts: auth-dns
|
||||||
roles:
|
roles:
|
||||||
- auth-dns
|
- auth_dns
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
- tags: [ auth-dns ]
|
---
|
||||||
name: restart knot
|
- name: restart knot
|
||||||
|
tags: [ auth-dns ]
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
name: knot.service
|
name: knot.service
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
- tags: [ auth-dns ]
|
---
|
||||||
name: Ensure required directories exist
|
- name: Ensure required directories exist
|
||||||
|
tags: [ auth-dns ]
|
||||||
become: true
|
become: true
|
||||||
loop: [ "/etc/knot", "/etc/knot/zones" ]
|
loop: [ "/etc/knot", "/etc/knot/zones" ]
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
@ -9,8 +10,8 @@
|
||||||
group: knot
|
group: knot
|
||||||
mode: u=rwx,g=rx,o=
|
mode: u=rwx,g=rx,o=
|
||||||
|
|
||||||
- tags: [ auth-dns ]
|
- name: Deploy knot configuration file
|
||||||
name: Deploy knot configuration file
|
tags: [ auth-dns ]
|
||||||
become: true
|
become: true
|
||||||
notify: restart knot
|
notify: restart knot
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
Loading…
Add table
Add a link
Reference in a new issue