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-jitsi-jicofo.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/jicofo/matrix-jitsi-jicofo.service.j2"
dest: "{{ matrix_systemd_path }}/matrix-jitsi-jicofo.service"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-jicofo.service"
mode: 0644
register: matrix_jitsi_jicofo_systemd_service_result
when: matrix_jitsi_enabled | bool
@ -68,7 +68,7 @@
- name: Check existence of matrix-jitsi-jicofo service
ansible.builtin.stat:
path: "{{ matrix_systemd_path }}/matrix-jitsi-jicofo.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-jicofo.service"
register: matrix_jitsi_jicofo_service_stat
when: "not matrix_jitsi_enabled | bool"
@ -83,7 +83,7 @@
- name: Ensure matrix-jitsi-jicofo.service doesn't exist
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-jitsi-jicofo.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-jicofo.service"
state: absent
when: "not matrix_jitsi_enabled | bool and matrix_jitsi_jicofo_service_stat.stat.exists"

View File

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

View File

@ -41,7 +41,7 @@
- name: Ensure matrix-jitsi-prosody.service file is installed
ansible.builtin.template:
src: "{{ role_path }}/templates/prosody/matrix-jitsi-prosody.service.j2"
dest: "{{ matrix_systemd_path }}/matrix-jitsi-prosody.service"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-prosody.service"
mode: 0644
register: matrix_jitsi_prosody_systemd_service_result
when: matrix_jitsi_enabled | bool
@ -65,7 +65,7 @@
- name: Ensure matrix-jitsi-prosody.service file exists
ansible.builtin.stat:
path: "{{ matrix_systemd_path }}/matrix-jitsi-prosody.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-prosody.service"
register: matrix_jitsi_prosody_service_stat
when: "not matrix_jitsi_enabled | bool"
@ -80,7 +80,7 @@
- name: Ensure matrix-jitsi-prosody.service file doesn't exist
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-jitsi-prosody.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-prosody.service"
state: absent
when: "not matrix_jitsi_enabled | bool and matrix_jitsi_prosody_service_stat.stat.exists"

View File

@ -54,7 +54,7 @@
- name: Ensure matrix-jitsi-web.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/web/matrix-jitsi-web.service.j2"
dest: "{{ matrix_systemd_path }}/matrix-jitsi-web.service"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-web.service"
mode: 0644
register: matrix_jitsi_web_systemd_service_result
when: matrix_jitsi_enabled | bool
@ -70,7 +70,7 @@
- name: Check existence of matrix-jitsi-web service
ansible.builtin.stat:
path: "{{ matrix_systemd_path }}/matrix-jitsi-web.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-web.service"
register: matrix_jitsi_web_service_stat
when: "not matrix_jitsi_enabled | bool"
@ -85,7 +85,7 @@
- name: Ensure matrix-jitsi-web.service doesn't exist
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-jitsi-web.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jitsi-web.service"
state: absent
when: "not matrix_jitsi_enabled | bool and matrix_jitsi_web_service_stat.stat.exists"