matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)

This commit is contained in:
Slavi Pantaleev
2022-11-04 16:38:38 +02:00
parent f03f716989
commit 835d2e9581
120 changed files with 208 additions and 208 deletions

View File

@ -2,7 +2,7 @@
- name: Check existence of matrix-riot-web.service
ansible.builtin.stat:
path: "{{ matrix_systemd_path }}/matrix-riot-web.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-riot-web.service"
register: matrix_client_riot_web_service_stat
when: "matrix_client_element_enabled | bool"
@ -17,7 +17,7 @@
- name: Ensure matrix-riot-web.service doesn't exist
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-riot-web.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-riot-web.service"
state: absent
when: "matrix_client_element_enabled | bool and matrix_client_riot_web_service_stat.stat.exists"

View File

@ -93,7 +93,7 @@
- name: Ensure matrix-client-element.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-client-element.service.j2"
dest: "{{ matrix_systemd_path }}/matrix-client-element.service"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-client-element.service"
mode: 0644
register: matrix_client_element_systemd_service_result

View File

@ -2,7 +2,7 @@
- name: Check existence of matrix-client-element.service
ansible.builtin.stat:
path: "{{ matrix_systemd_path }}/matrix-client-element.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-client-element.service"
register: matrix_client_element_service_stat
- name: Ensure matrix-client-element is stopped
@ -16,7 +16,7 @@
- name: Ensure matrix-client-element.service doesn't exist
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-client-element.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-client-element.service"
state: absent
when: "matrix_client_element_service_stat.stat.exists | bool"