mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 02:37:31 +01:00
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:
parent
1421355349
commit
5c66485c99
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user