Move matrix-bridge-mautrix-googlechat to its own container network

This commit is contained in:
Slavi Pantaleev
2024-01-07 15:22:22 +02:00
parent c6c88c2503
commit f8f3318bb2
9 changed files with 182 additions and 65 deletions

View File

@@ -113,6 +113,21 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure mautrix-googlechat support files installed
ansible.builtin.template:
src: "{{ role_path }}/templates/{{ item }}.j2"
dest: "{{ matrix_mautrix_googlechat_base_path }}/{{ item }}"
mode: 0640
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
with_items:
- labels
- name: Ensure matrix-mautrix-googlechat container network is created
community.general.docker_network:
name: "{{ matrix_mautrix_googlechat_container_network }}"
driver: bridge
- name: Ensure matrix-mautrix-googlechat.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-mautrix-googlechat.service.j2"