Ensure matrix-bot-mjolnir container network is created

Most addons live in the same network by default (matrix-addons) right now,
so this network would have usually been created by some other addon.

Howevre, if this is the only addon someone uses, it may have remained
uncreated causing a problem.
This commit is contained in:
Slavi Pantaleev 2024-01-20 15:40:56 +02:00
parent 1421355349
commit 5c66485c99

View File

@ -59,6 +59,11 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure matrix-bot-mjolnir container network is created
community.general.docker_network:
name: "{{ matrix_bot_mjolnir_container_network }}"
driver: bridge
- name: Ensure matrix-bot-mjolnir.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-bot-mjolnir.service.j2"