Fix restart handler calls from dna-gw playbook

This commit is contained in:
Timo Makinen 2022-10-30 23:33:22 +00:00
parent 27a0d1b9dc
commit f8d930acfb

View file

@ -106,7 +106,7 @@
mode: 0644 mode: 0644
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
notify: restart nginx notify: Restart nginx
- name: copy dns private key - name: copy dns private key
copy: copy:
@ -119,7 +119,7 @@
- /srv/letsencrypt/live/dns.home.foo.sh/privkey.pem - /srv/letsencrypt/live/dns.home.foo.sh/privkey.pem
- "/srv/ca/private/{{ inventory_hostname }}.key" - "/srv/ca/private/{{ inventory_hostname }}.key"
tags: certificates tags: certificates
notify: restart unbound notify: Restart unbound
- name: copy dns certificate and ca cert - name: copy dns certificate and ca cert
copy: copy:
dest: "{{ tls_certs }}/dns.home.foo.sh.crt" dest: "{{ tls_certs }}/dns.home.foo.sh.crt"
@ -131,7 +131,7 @@
- /srv/letsencrypt/live/dns.home.foo.sh/fullchain.pem - /srv/letsencrypt/live/dns.home.foo.sh/fullchain.pem
- "/srv/ca/certs/hosts/{{ inventory_hostname }}.crt" - "/srv/ca/certs/hosts/{{ inventory_hostname }}.crt"
tags: certificates tags: certificates
notify: restart unbound notify: Restart unbound
- name: copy dns zone files - name: copy dns zone files
copy: copy:
dest: "/var/unbound/db/{{ item }}" dest: "/var/unbound/db/{{ item }}"
@ -140,7 +140,7 @@
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
tags: dns tags: dns
notify: restart unbound notify: Restart unbound
with_items: with_items:
- 20.172.in-addr.arpa - 20.172.in-addr.arpa
- home.foo.sh - home.foo.sh