1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00

Fix systemd_path being undefined breakage

Regression since #681 (Github Pull Request).

Fixes #715 (Github Issue).
This commit is contained in:
Slavi Pantaleev 2020-11-11 00:45:02 +02:00
parent b5435db338
commit 4dbec2470f

View File

@ -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
@ -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"