|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check existence of matrix-dynamic-dns service
|
|
|
|
- name: Check existence of matrix-dynamic-dns service
|
|
|
|
stat:
|
|
|
|
stat:
|
|
|
|
path: "{{ systemd_path }}m/matrix-dynamic-dns.service"
|
|
|
|
path: "{{ systemd_path }}/matrix-dynamic-dns.service"
|
|
|
|
register: matrix_dynamic_dns_service_stat
|
|
|
|
register: matrix_dynamic_dns_service_stat
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure matrix-dynamic-dns is stopped
|
|
|
|
- name: Ensure matrix-dynamic-dns is stopped
|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure matrix-dynamic-dns.service doesn't exist
|
|
|
|
- name: Ensure matrix-dynamic-dns.service doesn't exist
|
|
|
|
file:
|
|
|
|
file:
|
|
|
|
path: "{{ systemd_path }}m/matrix-dynamic-dns.service"
|
|
|
|
path: "{{ systemd_path }}/matrix-dynamic-dns.service"
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|
when: "matrix_dynamic_dns_service_stat.stat.exists"
|
|
|
|
when: "matrix_dynamic_dns_service_stat.stat.exists"
|
|
|
|
|
|
|
|
|
|
|
|