mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 10:28:29 +01:00
Add missing network-creation tasks for some bot roles
This commit is contained in:
parent
a794db4c38
commit
6deb99f31b
@ -59,6 +59,11 @@
|
|||||||
owner: "{{ matrix_user_username }}"
|
owner: "{{ matrix_user_username }}"
|
||||||
group: "{{ matrix_user_groupname }}"
|
group: "{{ matrix_user_groupname }}"
|
||||||
|
|
||||||
|
- name: Ensure matrix-bot-draupnir container network is created
|
||||||
|
community.general.docker_network:
|
||||||
|
name: "{{ matrix_bot_draupnir_container_network }}"
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
- name: Ensure matrix-bot-draupnir.service installed
|
- name: Ensure matrix-bot-draupnir.service installed
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ role_path }}/templates/systemd/matrix-bot-draupnir.service.j2"
|
src: "{{ role_path }}/templates/systemd/matrix-bot-draupnir.service.j2"
|
||||||
|
@ -32,11 +32,6 @@
|
|||||||
- env
|
- env
|
||||||
- labels
|
- labels
|
||||||
|
|
||||||
- name: Ensure go-neb container network is created
|
|
||||||
community.general.docker_network:
|
|
||||||
name: "{{ matrix_bot_go_neb_container_network }}"
|
|
||||||
driver: bridge
|
|
||||||
|
|
||||||
- name: Ensure go-neb container image is pulled
|
- name: Ensure go-neb container image is pulled
|
||||||
community.docker.docker_image:
|
community.docker.docker_image:
|
||||||
name: "{{ matrix_bot_go_neb_container_image }}"
|
name: "{{ matrix_bot_go_neb_container_image }}"
|
||||||
@ -48,6 +43,11 @@
|
|||||||
delay: "{{ devture_playbook_help_container_retries_delay }}"
|
delay: "{{ devture_playbook_help_container_retries_delay }}"
|
||||||
until: result is not failed
|
until: result is not failed
|
||||||
|
|
||||||
|
- name: Ensure go-neb container network is created
|
||||||
|
community.general.docker_network:
|
||||||
|
name: "{{ matrix_bot_go_neb_container_network }}"
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
- name: Ensure matrix-bot-go-neb.service installed
|
- name: Ensure matrix-bot-go-neb.service installed
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ role_path }}/templates/systemd/matrix-bot-go-neb.service.j2"
|
src: "{{ role_path }}/templates/systemd/matrix-bot-go-neb.service.j2"
|
||||||
|
@ -56,6 +56,11 @@
|
|||||||
pull: true
|
pull: true
|
||||||
when: "matrix_bot_matrix_registration_bot_container_image_self_build | bool"
|
when: "matrix_bot_matrix_registration_bot_container_image_self_build | bool"
|
||||||
|
|
||||||
|
- name: Ensure matrix-registration-bot container network is created
|
||||||
|
community.general.docker_network:
|
||||||
|
name: "{{ matrix_bot_matrix_registration_bot_container_network }}"
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
- name: Ensure matrix-bot-matrix-registration-bot.service installed
|
- name: Ensure matrix-bot-matrix-registration-bot.service installed
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ role_path }}/templates/systemd/matrix-bot-matrix-registration-bot.service.j2"
|
src: "{{ role_path }}/templates/systemd/matrix-bot-matrix-registration-bot.service.j2"
|
||||||
|
@ -84,6 +84,11 @@
|
|||||||
owner: "{{ matrix_user_username }}"
|
owner: "{{ matrix_user_username }}"
|
||||||
group: "{{ matrix_user_groupname }}"
|
group: "{{ matrix_user_groupname }}"
|
||||||
|
|
||||||
|
- name: Ensure matrix-reminder-bot container network is created
|
||||||
|
community.general.docker_network:
|
||||||
|
name: "{{ matrix_bot_matrix_reminder_bot_container_network }}"
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
- name: Ensure matrix-bot-matrix-reminder-bot.service installed
|
- name: Ensure matrix-bot-matrix-reminder-bot.service installed
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ role_path }}/templates/systemd/matrix-bot-matrix-reminder-bot.service.j2"
|
src: "{{ role_path }}/templates/systemd/matrix-bot-matrix-reminder-bot.service.j2"
|
||||||
|
Loading…
Reference in New Issue
Block a user