mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-06-11 11:34:52 +03:00
Allow host network mode for MDAD-managed containers (#5310)
* feat: support container_network=host across all roles + systemd templates
Mirror the pattern Slavi introduced for matrix-coturn (aafa8f0) across the
fork: every 'Ensure X container network is created' task gets a
'when: <var> not in ["", "host"]' guard so MDAD does not try to
docker_network create a network literally named 'host' (returns 403,
since host is a pre-defined Docker network).
Mirror the same guard in every systemd unit template that does
'ExecStartPre=docker network connect <addnet> <container>' loops over
matrix_<role>_container_additional_networks: skip the connects when the
container is on host networking (where additional --network attaches
are invalid).
Unblocks DiD setups where MDAD-managed containers share their host's
network namespace (matrix-mdad outer compose service joined to central
postgres/openldap networks) to reach external services on the outer
Docker daemon.
* Simplify container network guards (!= 'host') and fix duplicate when
Guarding on the empty string ('') as well was misleading: systemd unit
templates still render an unconditional --network= flag, so an empty
network value produces a broken docker create command. Only 'host' is
actually supported, so only guard on that. This also matches the
existing convention in the Traefik role
(when: traefik_container_network != 'host').
Also fix a duplicate when key in the meshtastic-relay role, where the
network-creation task already had a when condition - the two are now
combined into a list.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
550fc03d60
commit
bd6e08a93e
@@ -73,6 +73,7 @@
|
|||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
||||||
- name: Ensure matrix-alertmanager-receiver container network is created
|
- name: Ensure matrix-alertmanager-receiver container network is created
|
||||||
|
when: matrix_alertmanager_receiver_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_alertmanager_receiver_container_network }}"
|
name: "{{ matrix_alertmanager_receiver_container_network }}"
|
||||||
|
|||||||
+2
@@ -33,9 +33,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
--config-path=/config/config.yml {{ matrix_alertmanager_receiver_container_process_extra_arguments | join(' ') }} \
|
--config-path=/config/config.yml {{ matrix_alertmanager_receiver_container_process_extra_arguments | join(' ') }} \
|
||||||
--log-level={{ matrix_alertmanager_receiver_container_process_argument_log_level }}
|
--log-level={{ matrix_alertmanager_receiver_container_process_argument_log_level }}
|
||||||
|
|
||||||
|
{% if matrix_alertmanager_receiver_container_network != 'host' %}
|
||||||
{% for network in matrix_alertmanager_receiver_container_additional_networks %}
|
{% for network in matrix_alertmanager_receiver_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-alertmanager-receiver
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-alertmanager-receiver
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-alertmanager-receiver
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-alertmanager-receiver
|
||||||
|
|
||||||
|
|||||||
@@ -88,6 +88,7 @@
|
|||||||
register: matrix_appservice_draupnir_for_all_registration_config_result
|
register: matrix_appservice_draupnir_for_all_registration_config_result
|
||||||
|
|
||||||
- name: Ensure matrix-appservice-draupnir-for-all container network is created
|
- name: Ensure matrix-appservice-draupnir-for-all container network is created
|
||||||
|
when: matrix_appservice_draupnir_for_all_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_appservice_draupnir_for_all_container_network }}"
|
name: "{{ matrix_appservice_draupnir_for_all_container_network }}"
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_appservice_draupnir_for_all_container_image }} \
|
{{ matrix_appservice_draupnir_for_all_container_image }} \
|
||||||
appservice -c /data/config/production-appservice.yaml -f /data/config/draupnir-for-all-registration.yaml -p {{ matrix_appservice_draupnir_for_all_appservice_port }} --draupnir-config /data/config/production-bots.yaml
|
appservice -c /data/config/production-appservice.yaml -f /data/config/draupnir-for-all-registration.yaml -p {{ matrix_appservice_draupnir_for_all_appservice_port }} --draupnir-config /data/config/production-bots.yaml
|
||||||
|
|
||||||
|
{% if matrix_appservice_draupnir_for_all_container_network != 'host' %}
|
||||||
{% for network in matrix_appservice_draupnir_for_all_container_additional_networks %}
|
{% for network in matrix_appservice_draupnir_for_all_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-draupnir-for-all
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-draupnir-for-all
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-draupnir-for-all
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-draupnir-for-all
|
||||||
|
|
||||||
|
|||||||
@@ -114,6 +114,7 @@
|
|||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
||||||
- name: Ensure Matrix Authentication Service container network is created
|
- name: Ensure Matrix Authentication Service container network is created
|
||||||
|
when: matrix_authentication_service_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_authentication_service_container_network }}"
|
name: "{{ matrix_authentication_service_container_network }}"
|
||||||
|
|||||||
+2
@@ -36,9 +36,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_authentication_service_container_image }}
|
{{ matrix_authentication_service_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_authentication_service_container_network != 'host' %}
|
||||||
{% for network in matrix_authentication_service_container_additional_networks %}
|
{% for network in matrix_authentication_service_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-authentication-service
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-authentication-service
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-authentication-service
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-authentication-service
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
register: matrix_bot_baibot_container_image_build_result
|
register: matrix_bot_baibot_container_image_build_result
|
||||||
|
|
||||||
- name: Ensure baibot container network is created
|
- name: Ensure baibot container network is created
|
||||||
|
when: matrix_bot_baibot_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_bot_baibot_container_network }}"
|
name: "{{ matrix_bot_baibot_container_network }}"
|
||||||
|
|||||||
@@ -37,9 +37,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_bot_baibot_container_image }}
|
{{ matrix_bot_baibot_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_bot_baibot_container_network != 'host' %}
|
||||||
{% for network in matrix_bot_baibot_container_additional_networks %}
|
{% for network in matrix_bot_baibot_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-baibot
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-baibot
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-baibot
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-baibot
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,7 @@
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
- name: Ensure Buscarron container network is created
|
- name: Ensure Buscarron container network is created
|
||||||
|
when: matrix_bot_buscarron_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_bot_buscarron_container_network }}"
|
name: "{{ matrix_bot_buscarron_container_network }}"
|
||||||
|
|||||||
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_bot_buscarron_container_image }}
|
{{ matrix_bot_buscarron_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_bot_buscarron_container_network != 'host' %}
|
||||||
{% for network in matrix_bot_buscarron_container_additional_networks %}
|
{% for network in matrix_bot_buscarron_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-buscarron
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-buscarron
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-buscarron
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-buscarron
|
||||||
|
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
register: matrix_bot_draupnir_config_result
|
register: matrix_bot_draupnir_config_result
|
||||||
|
|
||||||
- name: Ensure matrix-bot-draupnir container network is created
|
- name: Ensure matrix-bot-draupnir container network is created
|
||||||
|
when: matrix_bot_draupnir_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_bot_draupnir_container_network }}"
|
name: "{{ matrix_bot_draupnir_container_network }}"
|
||||||
|
|||||||
@@ -36,9 +36,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_bot_draupnir_container_image }} \
|
{{ matrix_bot_draupnir_container_image }} \
|
||||||
bot --draupnir-config /data/config/production.yaml
|
bot --draupnir-config /data/config/production.yaml
|
||||||
|
|
||||||
|
{% if matrix_bot_draupnir_container_network != 'host' %}
|
||||||
{% for network in matrix_bot_draupnir_container_additional_networks %}
|
{% for network in matrix_bot_draupnir_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-draupnir
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-draupnir
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-draupnir
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-draupnir
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,7 @@
|
|||||||
register: matrix_bot_honoroit_container_image_build_result
|
register: matrix_bot_honoroit_container_image_build_result
|
||||||
|
|
||||||
- name: Ensure Honoroit container network is created
|
- name: Ensure Honoroit container network is created
|
||||||
|
when: matrix_bot_honoroit_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_bot_honoroit_container_network }}"
|
name: "{{ matrix_bot_honoroit_container_network }}"
|
||||||
|
|||||||
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_bot_honoroit_container_image }}
|
{{ matrix_bot_honoroit_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_bot_honoroit_container_network != 'host' %}
|
||||||
{% for network in matrix_bot_honoroit_container_additional_networks %}
|
{% for network in matrix_bot_honoroit_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-honoroit
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-honoroit
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-honoroit
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-honoroit
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
register: matrix_bot_matrix_registration_bot_container_image_build_result
|
register: matrix_bot_matrix_registration_bot_container_image_build_result
|
||||||
|
|
||||||
- name: Ensure matrix-registration-bot container network is created
|
- name: Ensure matrix-registration-bot container network is created
|
||||||
|
when: matrix_bot_matrix_registration_bot_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_bot_matrix_registration_bot_container_network }}"
|
name: "{{ matrix_bot_matrix_registration_bot_container_network }}"
|
||||||
|
|||||||
+2
@@ -29,9 +29,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
--network={{ matrix_bot_matrix_registration_bot_container_network }} \
|
--network={{ matrix_bot_matrix_registration_bot_container_network }} \
|
||||||
{{ matrix_bot_matrix_registration_bot_container_image }}
|
{{ matrix_bot_matrix_registration_bot_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_bot_matrix_registration_bot_container_network != 'host' %}
|
||||||
{% for network in matrix_bot_matrix_registration_bot_container_additional_networks %}
|
{% for network in matrix_bot_matrix_registration_bot_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-matrix-registration-bot
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-matrix-registration-bot
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-matrix-registration-bot
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-matrix-registration-bot
|
||||||
|
|
||||||
|
|||||||
@@ -93,6 +93,7 @@
|
|||||||
register: matrix_bot_matrix_reminder_bot_config_result
|
register: matrix_bot_matrix_reminder_bot_config_result
|
||||||
|
|
||||||
- name: Ensure matrix-reminder-bot container network is created
|
- name: Ensure matrix-reminder-bot container network is created
|
||||||
|
when: matrix_bot_matrix_reminder_bot_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_bot_matrix_reminder_bot_container_network }}"
|
name: "{{ matrix_bot_matrix_reminder_bot_container_network }}"
|
||||||
|
|||||||
+2
@@ -34,9 +34,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_bot_matrix_reminder_bot_container_image }} \
|
{{ matrix_bot_matrix_reminder_bot_container_image }} \
|
||||||
-c "matrix-reminder-bot /config/config.yaml"
|
-c "matrix-reminder-bot /config/config.yaml"
|
||||||
|
|
||||||
|
{% if matrix_bot_matrix_reminder_bot_container_network != 'host' %}
|
||||||
{% for network in matrix_bot_matrix_reminder_bot_container_additional_networks %}
|
{% for network in matrix_bot_matrix_reminder_bot_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-matrix-reminder-bot
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-matrix-reminder-bot
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-matrix-reminder-bot
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-matrix-reminder-bot
|
||||||
|
|
||||||
|
|||||||
@@ -98,6 +98,7 @@
|
|||||||
register: matrix_bot_maubot_support_files_result
|
register: matrix_bot_maubot_support_files_result
|
||||||
|
|
||||||
- name: Ensure maubot container network is created
|
- name: Ensure maubot container network is created
|
||||||
|
when: matrix_bot_maubot_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_bot_maubot_container_network }}"
|
name: "{{ matrix_bot_maubot_container_network }}"
|
||||||
|
|||||||
@@ -41,9 +41,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_bot_maubot_container_image_final }} \
|
{{ matrix_bot_maubot_container_image_final }} \
|
||||||
python3 -m maubot -c /config/config.yaml --no-update
|
python3 -m maubot -c /config/config.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_bot_maubot_container_network != 'host' %}
|
||||||
{% for network in matrix_bot_maubot_container_additional_networks %}
|
{% for network in matrix_bot_maubot_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-maubot
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-maubot
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-maubot
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-maubot
|
||||||
|
|
||||||
|
|||||||
@@ -68,6 +68,7 @@
|
|||||||
register: matrix_bot_mjolnir_config_result
|
register: matrix_bot_mjolnir_config_result
|
||||||
|
|
||||||
- name: Ensure matrix-bot-mjolnir container network is created
|
- name: Ensure matrix-bot-mjolnir container network is created
|
||||||
|
when: matrix_bot_mjolnir_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_bot_mjolnir_container_network }}"
|
name: "{{ matrix_bot_mjolnir_container_network }}"
|
||||||
|
|||||||
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_bot_mjolnir_container_image }} \
|
{{ matrix_bot_mjolnir_container_image }} \
|
||||||
bot --mjolnir-config /data/config/production.yaml
|
bot --mjolnir-config /data/config/production.yaml
|
||||||
|
|
||||||
|
{% if matrix_bot_mjolnir_container_network != 'host' %}
|
||||||
{% for network in matrix_bot_mjolnir_container_additional_networks %}
|
{% for network in matrix_bot_mjolnir_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-mjolnir
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-bot-mjolnir
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-mjolnir
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-bot-mjolnir
|
||||||
|
|
||||||
|
|||||||
@@ -118,6 +118,7 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Ensure matrix-appservice-discord container network is created
|
- name: Ensure matrix-appservice-discord container network is created
|
||||||
|
when: matrix_appservice_discord_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_appservice_discord_container_network }}"
|
name: "{{ matrix_appservice_discord_container_network }}"
|
||||||
|
|||||||
+2
@@ -34,9 +34,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_appservice_discord_container_image }} \
|
{{ matrix_appservice_discord_container_image }} \
|
||||||
node /build/src/discordas.js -p 9005 -c /cfg/config.yaml -f /cfg/registration.yaml
|
node /build/src/discordas.js -p 9005 -c /cfg/config.yaml -f /cfg/registration.yaml
|
||||||
|
|
||||||
|
{% if matrix_appservice_discord_container_network != 'host' %}
|
||||||
{% for network in matrix_appservice_discord_container_additional_networks %}
|
{% for network in matrix_appservice_discord_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-discord
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-discord
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-discord
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-discord
|
||||||
|
|
||||||
|
|||||||
@@ -245,6 +245,7 @@
|
|||||||
register: matrix_appservice_irc_registration_result
|
register: matrix_appservice_irc_registration_result
|
||||||
|
|
||||||
- name: Ensure matrix-appservice-irc container network is created
|
- name: Ensure matrix-appservice-irc container network is created
|
||||||
|
when: matrix_appservice_irc_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_appservice_irc_container_network }}"
|
name: "{{ matrix_appservice_irc_container_network }}"
|
||||||
|
|||||||
+2
@@ -39,9 +39,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_appservice_irc_container_image }} \
|
{{ matrix_appservice_irc_container_image }} \
|
||||||
-c 'node app.js -c /config/config.yaml -f /config/registration.yaml -p 9999'
|
-c 'node app.js -c /config/config.yaml -f /config/registration.yaml -p 9999'
|
||||||
|
|
||||||
|
{% if matrix_appservice_irc_container_network != 'host' %}
|
||||||
{% for network in matrix_appservice_irc_container_additional_networks %}
|
{% for network in matrix_appservice_irc_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-irc
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-irc
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-irc
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-irc
|
||||||
|
|
||||||
|
|||||||
@@ -99,6 +99,7 @@
|
|||||||
register: matrix_appservice_kakaotalk_registration_result
|
register: matrix_appservice_kakaotalk_registration_result
|
||||||
|
|
||||||
- name: Ensure matrix-appservice-kakaotalk container network is created
|
- name: Ensure matrix-appservice-kakaotalk container network is created
|
||||||
|
when: matrix_appservice_kakaotalk_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_appservice_kakaotalk_container_network }}"
|
name: "{{ matrix_appservice_kakaotalk_container_network }}"
|
||||||
|
|||||||
+2
@@ -30,9 +30,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_appservice_kakaotalk_node_container_image }} \
|
{{ matrix_appservice_kakaotalk_node_container_image }} \
|
||||||
node src/main.js --config /config.json
|
node src/main.js --config /config.json
|
||||||
|
|
||||||
|
{% if matrix_appservice_kakaotalk_container_network != 'host' %}
|
||||||
{% for network in matrix_appservice_kakaotalk_container_additional_networks %}
|
{% for network in matrix_appservice_kakaotalk_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-kakaotalk-node
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-kakaotalk-node
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-kakaotalk-node
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-kakaotalk-node
|
||||||
|
|
||||||
|
|||||||
+2
@@ -31,9 +31,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_appservice_kakaotalk_container_image }} \
|
{{ matrix_appservice_kakaotalk_container_image }} \
|
||||||
python3 -m matrix_appservice_kakaotalk -c /config/config.yaml --no-update
|
python3 -m matrix_appservice_kakaotalk -c /config/config.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_appservice_discord_container_network != 'host' %}
|
||||||
{% for network in matrix_appservice_discord_container_additional_networks %}
|
{% for network in matrix_appservice_discord_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-kakaotalk
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-appservice-kakaotalk
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-kakaotalk
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-appservice-kakaotalk
|
||||||
|
|
||||||
|
|||||||
@@ -92,6 +92,7 @@
|
|||||||
register: matrix_beeper_linkedin_container_image_build_result
|
register: matrix_beeper_linkedin_container_image_build_result
|
||||||
|
|
||||||
- name: Ensure beeper-linkedin container network is created
|
- name: Ensure beeper-linkedin container network is created
|
||||||
|
when: matrix_beeper_linkedin_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_beeper_linkedin_container_network }}"
|
name: "{{ matrix_beeper_linkedin_container_network }}"
|
||||||
|
|||||||
+2
@@ -31,9 +31,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_beeper_linkedin_container_image }} \
|
{{ matrix_beeper_linkedin_container_image }} \
|
||||||
python3 -m linkedin_matrix -c /config/config.yaml -r /config/registration.yaml --no-update
|
python3 -m linkedin_matrix -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_beeper_linkedin_container_network != 'host' %}
|
||||||
{% for network in matrix_beeper_linkedin_container_additional_networks %}
|
{% for network in matrix_beeper_linkedin_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-beeper-linkedin
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-beeper-linkedin
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-beeper-linkedin
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-beeper-linkedin
|
||||||
|
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
register: matrix_heisenbridge_support_files_result
|
register: matrix_heisenbridge_support_files_result
|
||||||
|
|
||||||
- name: Ensure Heisenbridge container network is created
|
- name: Ensure Heisenbridge container network is created
|
||||||
|
when: matrix_heisenbridge_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_heisenbridge_container_network }}"
|
name: "{{ matrix_heisenbridge_container_network }}"
|
||||||
|
|||||||
+2
@@ -44,9 +44,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
--listen-port 9898 \
|
--listen-port 9898 \
|
||||||
{{ matrix_heisenbridge_homeserver_url }}
|
{{ matrix_heisenbridge_homeserver_url }}
|
||||||
|
|
||||||
|
{% if matrix_heisenbridge_container_network != 'host' %}
|
||||||
{% for network in matrix_heisenbridge_container_additional_networks %}
|
{% for network in matrix_heisenbridge_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-heisenbridge
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-heisenbridge
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-heisenbridge
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-heisenbridge
|
||||||
|
|
||||||
|
|||||||
@@ -133,6 +133,7 @@
|
|||||||
register: matrix_hookshot_github_key_result
|
register: matrix_hookshot_github_key_result
|
||||||
|
|
||||||
- name: Ensure matrix-hookshot container network is created
|
- name: Ensure matrix-hookshot container network is created
|
||||||
|
when: matrix_hookshot_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_hookshot_container_network }}"
|
name: "{{ matrix_hookshot_container_network }}"
|
||||||
|
|||||||
@@ -30,9 +30,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create --rm -
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_hookshot_container_image }}
|
{{ matrix_hookshot_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_hookshot_container_network != 'host' %}
|
||||||
{% for network in matrix_hookshot_container_additional_networks %}
|
{% for network in matrix_hookshot_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_hookshot_identifier }}
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_hookshot_identifier }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_hookshot_identifier }}
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_hookshot_identifier }}
|
||||||
|
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
register: matrix_mautrix_bluesky_support_files_result
|
register: matrix_mautrix_bluesky_support_files_result
|
||||||
|
|
||||||
- name: Ensure matrix-mautrix-bluesky container network is created
|
- name: Ensure matrix-mautrix-bluesky container network is created
|
||||||
|
when: matrix_mautrix_bluesky_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_bluesky_container_network }}"
|
name: "{{ matrix_mautrix_bluesky_container_network }}"
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_bluesky_container_image }} \
|
{{ matrix_mautrix_bluesky_container_image }} \
|
||||||
/usr/bin/mautrix-bluesky -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-bluesky -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_bluesky_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_bluesky_container_additional_networks %}
|
{% for network in matrix_mautrix_bluesky_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-bluesky
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-bluesky
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-bluesky
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-bluesky
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,7 @@
|
|||||||
register: matrix_mautrix_discord_support_files_result
|
register: matrix_mautrix_discord_support_files_result
|
||||||
|
|
||||||
- name: Ensure mautrix-discord container network is created
|
- name: Ensure mautrix-discord container network is created
|
||||||
|
when: matrix_mautrix_discord_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_discord_container_network }}"
|
name: "{{ matrix_mautrix_discord_container_network }}"
|
||||||
|
|||||||
+2
@@ -33,9 +33,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_discord_container_image }} \
|
{{ matrix_mautrix_discord_container_image }} \
|
||||||
/usr/bin/mautrix-discord -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-discord -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_discord_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_discord_container_additional_networks %}
|
{% for network in matrix_mautrix_discord_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-discord
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-discord
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-discord
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-discord
|
||||||
|
|
||||||
|
|||||||
@@ -150,6 +150,7 @@
|
|||||||
register: matrix_mautrix_gmessages_support_files_result
|
register: matrix_mautrix_gmessages_support_files_result
|
||||||
|
|
||||||
- name: Ensure matrix-mautrix-gmessages container network is created
|
- name: Ensure matrix-mautrix-gmessages container network is created
|
||||||
|
when: matrix_mautrix_gmessages_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_gmessages_container_network }}"
|
name: "{{ matrix_mautrix_gmessages_container_network }}"
|
||||||
|
|||||||
+2
@@ -33,9 +33,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_gmessages_container_image }} \
|
{{ matrix_mautrix_gmessages_container_image }} \
|
||||||
/usr/bin/mautrix-gmessages -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-gmessages -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_gmessages_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_gmessages_container_additional_networks %}
|
{% for network in matrix_mautrix_gmessages_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-gmessages
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-gmessages
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-gmessages
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-gmessages
|
||||||
|
|
||||||
|
|||||||
@@ -133,6 +133,7 @@
|
|||||||
register: matrix_mautrix_googlechat_support_files_result
|
register: matrix_mautrix_googlechat_support_files_result
|
||||||
|
|
||||||
- name: Ensure matrix-mautrix-googlechat container network is created
|
- name: Ensure matrix-mautrix-googlechat container network is created
|
||||||
|
when: matrix_mautrix_googlechat_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_googlechat_container_network }}"
|
name: "{{ matrix_mautrix_googlechat_container_network }}"
|
||||||
|
|||||||
+2
@@ -35,9 +35,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_googlechat_container_image }} \
|
{{ matrix_mautrix_googlechat_container_image }} \
|
||||||
python3 -m mautrix_googlechat -c /config/config.yaml --no-update
|
python3 -m mautrix_googlechat -c /config/config.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_googlechat_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_googlechat_container_additional_networks %}
|
{% for network in matrix_mautrix_googlechat_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-googlechat
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-googlechat
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-googlechat
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-googlechat
|
||||||
|
|
||||||
|
|||||||
@@ -107,6 +107,7 @@
|
|||||||
register: matrix_mautrix_meta_instagram_support_files_result
|
register: matrix_mautrix_meta_instagram_support_files_result
|
||||||
|
|
||||||
- name: Ensure mautrix-meta-instagram container network is created
|
- name: Ensure mautrix-meta-instagram container network is created
|
||||||
|
when: matrix_mautrix_meta_instagram_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_meta_instagram_container_network }}"
|
name: "{{ matrix_mautrix_meta_instagram_container_network }}"
|
||||||
|
|||||||
+2
@@ -35,9 +35,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_meta_instagram_container_image }} \
|
{{ matrix_mautrix_meta_instagram_container_image }} \
|
||||||
/usr/bin/mautrix-meta -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-meta -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_meta_instagram_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_meta_instagram_container_additional_networks %}
|
{% for network in matrix_mautrix_meta_instagram_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_mautrix_meta_instagram_identifier }}
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_mautrix_meta_instagram_identifier }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_mautrix_meta_instagram_identifier }}
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_mautrix_meta_instagram_identifier }}
|
||||||
|
|
||||||
|
|||||||
@@ -107,6 +107,7 @@
|
|||||||
register: matrix_mautrix_meta_messenger_support_files_result
|
register: matrix_mautrix_meta_messenger_support_files_result
|
||||||
|
|
||||||
- name: Ensure mautrix-meta-messenger container network is created
|
- name: Ensure mautrix-meta-messenger container network is created
|
||||||
|
when: matrix_mautrix_meta_messenger_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_meta_messenger_container_network }}"
|
name: "{{ matrix_mautrix_meta_messenger_container_network }}"
|
||||||
|
|||||||
+2
@@ -35,9 +35,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_meta_messenger_container_image }} \
|
{{ matrix_mautrix_meta_messenger_container_image }} \
|
||||||
/usr/bin/mautrix-meta -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-meta -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_meta_messenger_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_meta_messenger_container_additional_networks %}
|
{% for network in matrix_mautrix_meta_messenger_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_mautrix_meta_messenger_identifier }}
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_mautrix_meta_messenger_identifier }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_mautrix_meta_messenger_identifier }}
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach {{ matrix_mautrix_meta_messenger_identifier }}
|
||||||
|
|
||||||
|
|||||||
@@ -148,6 +148,7 @@
|
|||||||
register: matrix_mautrix_signal_support_files_result
|
register: matrix_mautrix_signal_support_files_result
|
||||||
|
|
||||||
- name: Ensure matrix-mautrix-signal container network is created
|
- name: Ensure matrix-mautrix-signal container network is created
|
||||||
|
when: matrix_mautrix_signal_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_signal_container_network }}"
|
name: "{{ matrix_mautrix_signal_container_network }}"
|
||||||
|
|||||||
+2
@@ -33,9 +33,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_signal_container_image }} \
|
{{ matrix_mautrix_signal_container_image }} \
|
||||||
/usr/bin/mautrix-signal -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-signal -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_signal_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_signal_container_additional_networks %}
|
{% for network in matrix_mautrix_signal_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-signal
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-signal
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-signal
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-signal
|
||||||
|
|
||||||
|
|||||||
@@ -98,6 +98,7 @@
|
|||||||
register: matrix_mautrix_slack_registration_result
|
register: matrix_mautrix_slack_registration_result
|
||||||
|
|
||||||
- name: Ensure matrix-mautrix-slack container network is created
|
- name: Ensure matrix-mautrix-slack container network is created
|
||||||
|
when: matrix_mautrix_slack_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_slack_container_network }}"
|
name: "{{ matrix_mautrix_slack_container_network }}"
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_slack_container_image }} \
|
{{ matrix_mautrix_slack_container_image }} \
|
||||||
/usr/bin/mautrix-slack -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-slack -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_slack_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_slack_container_additional_networks %}
|
{% for network in matrix_mautrix_slack_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-slack
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-slack
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-slack
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-slack
|
||||||
|
|
||||||
|
|||||||
@@ -154,6 +154,7 @@
|
|||||||
register: matrix_mautrix_telegram_support_files_result
|
register: matrix_mautrix_telegram_support_files_result
|
||||||
|
|
||||||
- name: Ensure matrix-mautrix-telegram container network is created
|
- name: Ensure matrix-mautrix-telegram container network is created
|
||||||
|
when: matrix_mautrix_telegram_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_telegram_container_network }}"
|
name: "{{ matrix_mautrix_telegram_container_network }}"
|
||||||
|
|||||||
+2
@@ -33,9 +33,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_telegram_container_image }} \
|
{{ matrix_mautrix_telegram_container_image }} \
|
||||||
/usr/bin/mautrix-telegram -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-telegram -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_telegram_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_telegram_container_additional_networks %}
|
{% for network in matrix_mautrix_telegram_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-telegram
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-telegram
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-telegram
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-telegram
|
||||||
|
|
||||||
|
|||||||
@@ -88,6 +88,7 @@
|
|||||||
register: matrix_mautrix_twitter_support_files_result
|
register: matrix_mautrix_twitter_support_files_result
|
||||||
|
|
||||||
- name: Ensure matrix-mautrix-twitter container network is created
|
- name: Ensure matrix-mautrix-twitter container network is created
|
||||||
|
when: matrix_mautrix_twitter_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_twitter_container_network }}"
|
name: "{{ matrix_mautrix_twitter_container_network }}"
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_twitter_container_image }} \
|
{{ matrix_mautrix_twitter_container_image }} \
|
||||||
/usr/bin/mautrix-twitter -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-twitter -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_twitter_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_twitter_container_additional_networks %}
|
{% for network in matrix_mautrix_twitter_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-twitter
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-twitter
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-twitter
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-twitter
|
||||||
|
|
||||||
|
|||||||
@@ -153,6 +153,7 @@
|
|||||||
register: matrix_mautrix_whatsapp_support_files_result
|
register: matrix_mautrix_whatsapp_support_files_result
|
||||||
|
|
||||||
- name: Ensure matrix-mautrix-whatsapp container network is created
|
- name: Ensure matrix-mautrix-whatsapp container network is created
|
||||||
|
when: matrix_mautrix_whatsapp_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_whatsapp_container_network }}"
|
name: "{{ matrix_mautrix_whatsapp_container_network }}"
|
||||||
|
|||||||
+2
@@ -33,9 +33,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_mautrix_whatsapp_container_image }} \
|
{{ matrix_mautrix_whatsapp_container_image }} \
|
||||||
/usr/bin/mautrix-whatsapp -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/mautrix-whatsapp -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_mautrix_whatsapp_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_whatsapp_container_additional_networks %}
|
{% for network in matrix_mautrix_whatsapp_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-whatsapp
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-whatsapp
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-whatsapp
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-whatsapp
|
||||||
|
|
||||||
|
|||||||
@@ -107,6 +107,7 @@
|
|||||||
register: matrix_mautrix_wsproxy_registration_imessage_result
|
register: matrix_mautrix_wsproxy_registration_imessage_result
|
||||||
|
|
||||||
- name: Ensure mautrix-wsproxy container network is created
|
- name: Ensure mautrix-wsproxy container network is created
|
||||||
|
when: matrix_mautrix_wsproxy_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mautrix_wsproxy_container_network }}"
|
name: "{{ matrix_mautrix_wsproxy_container_network }}"
|
||||||
|
|||||||
+2
@@ -29,9 +29,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_mautrix_wsproxy_syncproxy_container_image }}
|
{{ matrix_mautrix_wsproxy_syncproxy_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_mautrix_wsproxy_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_wsproxy_container_additional_networks %}
|
{% for network in matrix_mautrix_wsproxy_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-wsproxy-syncproxy
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-wsproxy-syncproxy
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-wsproxy-syncproxy
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-wsproxy-syncproxy
|
||||||
|
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create --rm -
|
|||||||
{{ matrix_mautrix_wsproxy_container_image }} \
|
{{ matrix_mautrix_wsproxy_container_image }} \
|
||||||
/usr/bin/mautrix-wsproxy -config /data/config.yaml
|
/usr/bin/mautrix-wsproxy -config /data/config.yaml
|
||||||
|
|
||||||
|
{% if matrix_mautrix_wsproxy_container_network != 'host' %}
|
||||||
{% for network in matrix_mautrix_wsproxy_container_additional_networks %}
|
{% for network in matrix_mautrix_wsproxy_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-wsproxy
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-wsproxy
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-wsproxy
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-wsproxy
|
||||||
|
|
||||||
|
|||||||
@@ -36,12 +36,14 @@
|
|||||||
register: matrix_meshtastic_relay_config_result
|
register: matrix_meshtastic_relay_config_result
|
||||||
|
|
||||||
- name: Ensure matrix-meshtastic-relay container network is created
|
- name: Ensure matrix-meshtastic-relay container network is created
|
||||||
|
when:
|
||||||
|
- matrix_meshtastic_relay_connection_type != 'ble'
|
||||||
|
- matrix_meshtastic_relay_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_meshtastic_relay_container_network }}"
|
name: "{{ matrix_meshtastic_relay_container_network }}"
|
||||||
driver: bridge
|
driver: bridge
|
||||||
driver_options: "{{ devture_systemd_docker_base_container_networks_driver_options }}"
|
driver_options: "{{ devture_systemd_docker_base_container_networks_driver_options }}"
|
||||||
when: "matrix_meshtastic_relay_connection_type != 'ble'"
|
|
||||||
|
|
||||||
- name: Ensure matrix-meshtastic-relay.service installed
|
- name: Ensure matrix-meshtastic-relay.service installed
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|||||||
+2
@@ -43,9 +43,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_meshtastic_relay_container_image }} \
|
{{ matrix_meshtastic_relay_container_image }} \
|
||||||
mmrelay --config /config/config.yaml
|
mmrelay --config /config/config.yaml
|
||||||
|
|
||||||
|
{% if matrix_meshtastic_relay_container_network != 'host' %}
|
||||||
{% for network in matrix_meshtastic_relay_container_additional_networks %}
|
{% for network in matrix_meshtastic_relay_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-meshtastic-relay
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-meshtastic-relay
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-meshtastic-relay
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-meshtastic-relay
|
||||||
|
|
||||||
|
|||||||
@@ -122,6 +122,7 @@
|
|||||||
register: matrix_mx_puppet_groupme_registration_result
|
register: matrix_mx_puppet_groupme_registration_result
|
||||||
|
|
||||||
- name: Ensure mx-puppet-groupme container network is created
|
- name: Ensure mx-puppet-groupme container network is created
|
||||||
|
when: matrix_mx_puppet_groupme_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mx_puppet_groupme_container_network }}"
|
name: "{{ matrix_mx_puppet_groupme_container_network }}"
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_mx_puppet_groupme_container_image }}
|
{{ matrix_mx_puppet_groupme_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_mx_puppet_groupme_container_network != 'host' %}
|
||||||
{% for network in matrix_mx_puppet_groupme_container_additional_networks %}
|
{% for network in matrix_mx_puppet_groupme_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mx-puppet-groupme
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mx-puppet-groupme
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mx-puppet-groupme
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mx-puppet-groupme
|
||||||
|
|
||||||
|
|||||||
@@ -124,6 +124,7 @@
|
|||||||
register: matrix_mx_puppet_steam_registration_result
|
register: matrix_mx_puppet_steam_registration_result
|
||||||
|
|
||||||
- name: Ensure mx-puppet-steam container network is created
|
- name: Ensure mx-puppet-steam container network is created
|
||||||
|
when: matrix_mx_puppet_steam_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_mx_puppet_steam_container_network }}"
|
name: "{{ matrix_mx_puppet_steam_container_network }}"
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_mx_puppet_steam_container_image }}
|
{{ matrix_mx_puppet_steam_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_mx_puppet_steam_container_network != 'host' %}
|
||||||
{% for network in matrix_mx_puppet_steam_container_additional_networks %}
|
{% for network in matrix_mx_puppet_steam_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mx-puppet-steam
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mx-puppet-steam
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mx-puppet-steam
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mx-puppet-steam
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,7 @@
|
|||||||
register: matrix_postmoogle_container_image_build_result
|
register: matrix_postmoogle_container_image_build_result
|
||||||
|
|
||||||
- name: Ensure postmoogle container network is created
|
- name: Ensure postmoogle container network is created
|
||||||
|
when: matrix_postmoogle_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_postmoogle_container_network }}"
|
name: "{{ matrix_postmoogle_container_network }}"
|
||||||
|
|||||||
@@ -38,9 +38,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_postmoogle_container_image }}
|
{{ matrix_postmoogle_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_postmoogle_container_network != 'host' %}
|
||||||
{% for network in matrix_postmoogle_container_additional_networks %}
|
{% for network in matrix_postmoogle_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-postmoogle
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-postmoogle
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-postmoogle
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-postmoogle
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,7 @@
|
|||||||
register: matrix_sms_bridge_cert_result
|
register: matrix_sms_bridge_cert_result
|
||||||
|
|
||||||
- name: Ensure matrix-sms-bridge container network is created
|
- name: Ensure matrix-sms-bridge container network is created
|
||||||
|
when: matrix_sms_bridge_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_sms_bridge_container_network }}"
|
name: "{{ matrix_sms_bridge_container_network }}"
|
||||||
|
|||||||
@@ -34,9 +34,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_sms_bridge_container_image }}
|
{{ matrix_sms_bridge_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_sms_bridge_container_network != 'host' %}
|
||||||
{% for network in matrix_sms_bridge_container_additional_networks %}
|
{% for network in matrix_sms_bridge_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-sms-bridge
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-sms-bridge
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-sms-bridge
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-sms-bridge
|
||||||
|
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
register: matrix_steam_bridge_support_files_result
|
register: matrix_steam_bridge_support_files_result
|
||||||
|
|
||||||
- name: Ensure matrix-steam-bridge container network is created
|
- name: Ensure matrix-steam-bridge container network is created
|
||||||
|
when: matrix_steam_bridge_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_steam_bridge_container_network }}"
|
name: "{{ matrix_steam_bridge_container_network }}"
|
||||||
|
|||||||
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_steam_bridge_container_image }} \
|
{{ matrix_steam_bridge_container_image }} \
|
||||||
/usr/bin/steam -c /app/config/config.yaml -r /app/config/registration.yaml --no-update
|
/usr/bin/steam -c /app/config/config.yaml -r /app/config/registration.yaml --no-update
|
||||||
|
|
||||||
|
{% if matrix_steam_bridge_container_network != 'host' %}
|
||||||
{% for network in matrix_steam_bridge_container_additional_networks %}
|
{% for network in matrix_steam_bridge_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-steam-bridge
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-steam-bridge
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-steam-bridge
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-steam-bridge
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,7 @@
|
|||||||
register: matrix_wechat_agent_config_result
|
register: matrix_wechat_agent_config_result
|
||||||
|
|
||||||
- name: Ensure matrix-wechat container network is created
|
- name: Ensure matrix-wechat container network is created
|
||||||
|
when: matrix_wechat_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_wechat_container_network }}"
|
name: "{{ matrix_wechat_container_network }}"
|
||||||
|
|||||||
@@ -33,9 +33,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_wechat_agent_container_image }}
|
{{ matrix_wechat_agent_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_wechat_container_network != 'host' %}
|
||||||
{% for network in matrix_wechat_container_additional_networks %}
|
{% for network in matrix_wechat_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-wechat-agent
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-wechat-agent
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-wechat-agent
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-wechat-agent
|
||||||
|
|
||||||
|
|||||||
@@ -31,9 +31,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_wechat_container_image }} \
|
{{ matrix_wechat_container_image }} \
|
||||||
/usr/bin/matrix-wechat -c /config/config.yaml -r /config/registration.yaml --no-update
|
/usr/bin/matrix-wechat -c /config/config.yaml -r /config/registration.yaml --no-update
|
||||||
|
{% if matrix_wechat_container_network != 'host' %}
|
||||||
{% for network in matrix_wechat_container_additional_networks %}
|
{% for network in matrix_wechat_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-wechat
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-wechat
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-wechat
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-wechat
|
||||||
|
|
||||||
|
|||||||
@@ -76,6 +76,7 @@
|
|||||||
until: matrix_cactus_comments_client_container_image_pull_result is not failed
|
until: matrix_cactus_comments_client_container_image_pull_result is not failed
|
||||||
|
|
||||||
- name: Ensure matrix-cactus-comments-client container network is created
|
- name: Ensure matrix-cactus-comments-client container network is created
|
||||||
|
when: matrix_cactus_comments_client_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_cactus_comments_client_container_network }}"
|
name: "{{ matrix_cactus_comments_client_container_network }}"
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
--mount type=bind,src={{ matrix_cactus_comments_client_public_path }},dst=/var/public,ro \
|
--mount type=bind,src={{ matrix_cactus_comments_client_public_path }},dst=/var/public,ro \
|
||||||
{{ matrix_cactus_comments_client_container_image }}
|
{{ matrix_cactus_comments_client_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_cactus_comments_client_container_network != 'host' %}
|
||||||
{% for network in matrix_cactus_comments_client_container_additional_networks %}
|
{% for network in matrix_cactus_comments_client_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-cactus-comments-client
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-cactus-comments-client
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-cactus-comments-client
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-cactus-comments-client
|
||||||
|
|
||||||
|
|||||||
+2
@@ -28,9 +28,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
--network={{ matrix_cactus_comments_container_network }} \
|
--network={{ matrix_cactus_comments_container_network }} \
|
||||||
{{ matrix_cactus_comments_container_image }}
|
{{ matrix_cactus_comments_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_cactus_comments_container_network != 'host' %}
|
||||||
{% for network in matrix_cactus_comments_container_additional_networks %}
|
{% for network in matrix_cactus_comments_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-cactus-comments
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-cactus-comments
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-cactus-comments
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-cactus-comments
|
||||||
|
|
||||||
|
|||||||
@@ -89,6 +89,7 @@
|
|||||||
register: matrix_client_commet_support_files_result
|
register: matrix_client_commet_support_files_result
|
||||||
|
|
||||||
- name: Ensure Commet container network is created
|
- name: Ensure Commet container network is created
|
||||||
|
when: matrix_client_commet_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_client_commet_container_network }}"
|
name: "{{ matrix_client_commet_container_network }}"
|
||||||
|
|||||||
@@ -41,9 +41,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_client_commet_container_image }}
|
{{ matrix_client_commet_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_client_commet_container_network != 'host' %}
|
||||||
{% for network in matrix_client_commet_container_additional_networks %}
|
{% for network in matrix_client_commet_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-client-commet
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-client-commet
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-client-commet
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-client-commet
|
||||||
|
|
||||||
|
|||||||
@@ -116,6 +116,7 @@
|
|||||||
when: "item.src is none"
|
when: "item.src is none"
|
||||||
|
|
||||||
- name: Ensure Element Web container network is created
|
- name: Ensure Element Web container network is created
|
||||||
|
when: matrix_client_element_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_client_element_container_network }}"
|
name: "{{ matrix_client_element_container_network }}"
|
||||||
|
|||||||
@@ -52,9 +52,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_client_element_container_image }}
|
{{ matrix_client_element_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_client_element_container_network != 'host' %}
|
||||||
{% for network in matrix_client_element_container_additional_networks %}
|
{% for network in matrix_client_element_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-client-element
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-client-element
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-client-element
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-client-element
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
register: matrix_client_fluffychat_config_result
|
register: matrix_client_fluffychat_config_result
|
||||||
|
|
||||||
- name: Ensure FluffyChat Web container network is created
|
- name: Ensure FluffyChat Web container network is created
|
||||||
|
when: matrix_client_fluffychat_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_client_fluffychat_container_network }}"
|
name: "{{ matrix_client_fluffychat_container_network }}"
|
||||||
|
|||||||
+2
@@ -32,9 +32,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_client_fluffychat_container_image }}
|
{{ matrix_client_fluffychat_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_client_fluffychat_container_network != 'host' %}
|
||||||
{% for network in matrix_client_fluffychat_container_additional_networks %}
|
{% for network in matrix_client_fluffychat_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-client-fluffychat
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-client-fluffychat
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-client-fluffychat
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-client-fluffychat
|
||||||
|
|
||||||
|
|||||||
@@ -107,6 +107,7 @@
|
|||||||
when: "item.src is none"
|
when: "item.src is none"
|
||||||
|
|
||||||
- name: Ensure SchildiChat Web container network is created
|
- name: Ensure SchildiChat Web container network is created
|
||||||
|
when: matrix_client_schildichat_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_client_schildichat_container_network }}"
|
name: "{{ matrix_client_schildichat_container_network }}"
|
||||||
|
|||||||
+2
@@ -40,9 +40,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_client_schildichat_container_image }}
|
{{ matrix_client_schildichat_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_client_schildichat_container_network != 'host' %}
|
||||||
{% for network in matrix_client_schildichat_container_additional_networks %}
|
{% for network in matrix_client_schildichat_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-client-schildichat
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-client-schildichat
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-client-schildichat
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-client-schildichat
|
||||||
|
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
register: matrix_conduit_support_files_result
|
register: matrix_conduit_support_files_result
|
||||||
|
|
||||||
- name: Ensure Conduit container network is created
|
- name: Ensure Conduit container network is created
|
||||||
|
when: matrix_conduit_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_conduit_container_network }}"
|
name: "{{ matrix_conduit_container_network }}"
|
||||||
|
|||||||
@@ -30,9 +30,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_conduit_container_image }}
|
{{ matrix_conduit_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_conduit_container_network != 'host' %}
|
||||||
{% for network in matrix_conduit_container_additional_networks %}
|
{% for network in matrix_conduit_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-conduit
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-conduit
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-conduit
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-conduit
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
register: matrix_continuwuity_support_files_result
|
register: matrix_continuwuity_support_files_result
|
||||||
|
|
||||||
- name: Ensure continuwuity container network is created
|
- name: Ensure continuwuity container network is created
|
||||||
|
when: matrix_continuwuity_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_continuwuity_container_network }}"
|
name: "{{ matrix_continuwuity_container_network }}"
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
- labels
|
- labels
|
||||||
|
|
||||||
- name: Ensure continuwuity container network is created
|
- name: Ensure continuwuity container network is created
|
||||||
|
when: matrix_continuwuity_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_continuwuity_container_network }}"
|
name: "{{ matrix_continuwuity_container_network }}"
|
||||||
|
|||||||
@@ -34,9 +34,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_continuwuity_container_image }}
|
{{ matrix_continuwuity_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_continuwuity_container_network != 'host' %}
|
||||||
{% for network in matrix_continuwuity_container_additional_networks %}
|
{% for network in matrix_continuwuity_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-continuwuity
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-continuwuity
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-continuwuity
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-continuwuity
|
||||||
|
|
||||||
|
|||||||
@@ -76,6 +76,7 @@
|
|||||||
register: matrix_corporal_support_files_result
|
register: matrix_corporal_support_files_result
|
||||||
|
|
||||||
- name: Ensure Matrix Corporal container network is created
|
- name: Ensure Matrix Corporal container network is created
|
||||||
|
when: matrix_corporal_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_corporal_container_network }}"
|
name: "{{ matrix_corporal_container_network }}"
|
||||||
|
|||||||
@@ -37,9 +37,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{{ matrix_corporal_container_image }} \
|
{{ matrix_corporal_container_image }} \
|
||||||
/matrix-corporal -config=/etc/matrix-corporal/config.json
|
/matrix-corporal -config=/etc/matrix-corporal/config.json
|
||||||
|
|
||||||
|
{% if matrix_corporal_container_network != 'host' %}
|
||||||
{% for network in matrix_corporal_container_additional_networks %}
|
{% for network in matrix_corporal_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-corporal
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-corporal
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-corporal
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-corporal
|
||||||
|
|
||||||
|
|||||||
@@ -118,6 +118,7 @@
|
|||||||
when: "matrix_dendrite_git_pull_results.changed | bool or matrix_dendrite_container_image_check_result.stdout == ''"
|
when: "matrix_dendrite_git_pull_results.changed | bool or matrix_dendrite_container_image_check_result.stdout == ''"
|
||||||
|
|
||||||
- name: Ensure Dendrite container network is created
|
- name: Ensure Dendrite container network is created
|
||||||
|
when: matrix_dendrite_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_dendrite_container_network }}"
|
name: "{{ matrix_dendrite_container_network }}"
|
||||||
|
|||||||
@@ -57,9 +57,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
-https-bind-address {{ matrix_dendrite_https_bind_address }}
|
-https-bind-address {{ matrix_dendrite_https_bind_address }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if matrix_dendrite_container_network != 'host' %}
|
||||||
{% for network in matrix_dendrite_container_additional_networks %}
|
{% for network in matrix_dendrite_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-dendrite
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-dendrite
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-dendrite
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-dendrite
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,7 @@
|
|||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
||||||
- name: Ensure Element Admin container network is created
|
- name: Ensure Element Admin container network is created
|
||||||
|
when: matrix_element_admin_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_element_admin_container_network }}"
|
name: "{{ matrix_element_admin_container_network }}"
|
||||||
|
|||||||
@@ -35,9 +35,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_element_admin_container_image }} {{ matrix_element_admin_container_process_extra_arguments | join(' ') }}
|
{{ matrix_element_admin_container_image }} {{ matrix_element_admin_container_process_extra_arguments | join(' ') }}
|
||||||
|
|
||||||
|
{% if matrix_element_admin_container_network != 'host' %}
|
||||||
{% for network in matrix_element_admin_container_additional_networks %}
|
{% for network in matrix_element_admin_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-element-admin
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-element-admin
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-element-admin
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-element-admin
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
until: matrix_element_call_container_image_pull_result is not failed
|
until: matrix_element_call_container_image_pull_result is not failed
|
||||||
|
|
||||||
- name: Ensure Element Call container network is created
|
- name: Ensure Element Call container network is created
|
||||||
|
when: matrix_element_call_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_element_call_container_network }}"
|
name: "{{ matrix_element_call_container_network }}"
|
||||||
|
|||||||
@@ -30,9 +30,11 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ matrix_element_call_container_image }}
|
{{ matrix_element_call_container_image }}
|
||||||
|
|
||||||
|
{% if matrix_element_call_container_network != 'host' %}
|
||||||
{% for network in matrix_element_call_container_additional_networks %}
|
{% for network in matrix_element_call_container_additional_networks %}
|
||||||
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-element-call
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-element-call
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-element-call
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-element-call
|
||||||
|
|
||||||
|
|||||||
@@ -102,6 +102,7 @@
|
|||||||
register: matrix_ketesa_container_image_build_result
|
register: matrix_ketesa_container_image_build_result
|
||||||
|
|
||||||
- name: Ensure matrix-ketesa container network is created
|
- name: Ensure matrix-ketesa container network is created
|
||||||
|
when: matrix_ketesa_container_network != 'host'
|
||||||
community.general.docker_network:
|
community.general.docker_network:
|
||||||
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}"
|
||||||
name: "{{ matrix_ketesa_container_network }}"
|
name: "{{ matrix_ketesa_container_network }}"
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user