Skip to content

Commit

Permalink
Fix systemd_path being undefined breakage
Browse files Browse the repository at this point in the history
Regression since #681 (Github Pull Request).

Fixes #715 (Github Issue).
  • Loading branch information
spantaleev committed Nov 10, 2020
1 parent b5435db commit 4dbec24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/matrix-dynamic-dns/tasks/uninstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- name: Check existence of matrix-dynamic-dns service
stat:
path: "{{ systemd_path }}/matrix-dynamic-dns.service"
path: "{{ matrix_systemd_path }}/matrix-dynamic-dns.service"
register: matrix_dynamic_dns_service_stat

- name: Ensure matrix-dynamic-dns is stopped
Expand All @@ -14,7 +14,7 @@

- name: Ensure matrix-dynamic-dns.service doesn't exist
file:
path: "{{ systemd_path }}/matrix-dynamic-dns.service"
path: "{{ matrix_systemd_path }}/matrix-dynamic-dns.service"
state: absent
when: "matrix_dynamic_dns_service_stat.stat.exists"

Expand Down

0 comments on commit 4dbec24

Please sign in to comment.