fix ansible-lint warnings of knot role
All checks were successful
/ Ansible Lint (push) Successful in 2m31s
All checks were successful
/ Ansible Lint (push) Successful in 2m31s
This commit is contained in:
parent
50beedbc62
commit
bc4df9a3f4
1 changed files with 2 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
- name: Deploy knot-exporter systemd unit
|
- name: Deploy knot-exporter systemd unit
|
||||||
tags: [ auth-dns ]
|
tags: [ auth-dns ]
|
||||||
become: true
|
become: true
|
||||||
register: deploy_service_file
|
register: knot_deploy_service_file
|
||||||
notify: restart knot-exporter
|
notify: restart knot-exporter
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: knot-exporter.service.j2
|
src: knot-exporter.service.j2
|
||||||
|
|
@ -17,5 +17,4 @@
|
||||||
name: knot-exporter.service
|
name: knot-exporter.service
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
daemon_reload: "{{ deploy_service_file.changed }}"
|
daemon_reload: "{{ knot_deploy_service_file.changed }}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue