create honoroit docker network

This commit is contained in:
Aine 2023-04-21 12:48:50 +03:00
parent c20d74af79
commit f0be907971
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804

View File

@ -108,6 +108,11 @@
pull: true pull: true
when: "matrix_bot_honoroit_container_image_self_build | bool" when: "matrix_bot_honoroit_container_image_self_build | bool"
- name: Ensure honoroit container network is created
community.general.docker_network:
name: "{{ matrix_bot_honoroit_container_network }}"
driver: bridge
- name: Ensure matrix-bot-honoroit.service installed - name: Ensure matrix-bot-honoroit.service installed
ansible.builtin.template: ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-bot-honoroit.service.j2" src: "{{ role_path }}/templates/systemd/matrix-bot-honoroit.service.j2"