Przeglądaj źródła

Make sure mautrix-wsproxy paths are created

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2923
pull/2925/head
Slavi Pantaleev 2 lat temu
rodzic
commit
5d6ad42751
1 zmienionych plików z 12 dodań i 0 usunięć
  1. +12
    -0
      roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml

+ 12
- 0
roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml Wyświetl plik

@@ -14,6 +14,18 @@
- ansible.builtin.set_fact: - ansible.builtin.set_fact:
matrix_mautrix_wsproxy_syncproxy_requires_restart: false matrix_mautrix_wsproxy_syncproxy_requires_restart: false


- name: Ensure Mautrix wsproxy paths exist
ansible.builtin.file:
path: "{{ item.path }}"
state: directory
mode: 0750
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
with_items:
- path: "{{ matrix_mautrix_wsproxy_base_path }}"
when: true
when: item.when | bool

- name: Ensure Mautrix wsproxy support files installed - name: Ensure Mautrix wsproxy support files installed
ansible.builtin.template: ansible.builtin.template:
src: "{{ role_path }}/templates/{{ item }}.j2" src: "{{ role_path }}/templates/{{ item }}.j2"


Ładowanie…
Anuluj
Zapisz