浏览代码

Fix systemd_path being undefined breakage

Regression since #681 (Github Pull Request).

Fixes #715 (Github Issue).
pull/717/head
Slavi Pantaleev 5 年前
父节点
当前提交
4dbec2470f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      roles/matrix-dynamic-dns/tasks/uninstall.yml

+ 2
- 2
roles/matrix-dynamic-dns/tasks/uninstall.yml 查看文件

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



正在加载...
取消
保存