Ver a proveniência

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.
pull/3121/head
Slavi Pantaleev há 2 anos
ascendente
cometimento
5c66485c99
1 ficheiros alterados com 5 adições e 0 eliminações
  1. +5
    -0
      roles/custom/matrix-bot-mjolnir/tasks/setup_install.yml

+ 5
- 0
roles/custom/matrix-bot-mjolnir/tasks/setup_install.yml Ver ficheiro

@@ -59,6 +59,11 @@
owner: "{{ matrix_user_username }}" owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}" 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 - name: Ensure matrix-bot-mjolnir.service installed
ansible.builtin.template: ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-bot-mjolnir.service.j2" src: "{{ role_path }}/templates/systemd/matrix-bot-mjolnir.service.j2"


Carregando…
Cancelar
Guardar