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

@ -52,7 +52,7 @@
- name: Ensure matrix-redis.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-redis.service.j2"
dest: "{{ matrix_systemd_path }}/matrix-redis.service"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-redis.service"
mode: 0644
register: matrix_redis_systemd_service_result
when: matrix_redis_enabled | bool
@ -68,7 +68,7 @@
- name: Check existence of matrix-redis service
ansible.builtin.stat:
path: "{{ matrix_systemd_path }}/matrix-redis.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-redis.service"
register: matrix_redis_service_stat
when: "not matrix_redis_enabled | bool"
@ -82,7 +82,7 @@
- name: Ensure matrix-redis.service doesn't exist
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-redis.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-redis.service"
state: absent
when: "not matrix_redis_enabled | bool and matrix_redis_service_stat.stat.exists"