5
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-07-17 15:26:41 +00:00

Rename matrix_postmoogle_* variables to matrix_bridge_postmoogle_*

Part of adopting a uniform naming policy for bridge variables,
where the variable prefix matches the role directory name.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Slavi Pantaleev
2026-07-16 14:59:33 +03:00
parent ceb178008f
commit b68674d5da
11 changed files with 228 additions and 228 deletions
@@ -1,11 +1,11 @@
#jinja2: lstrip_blocks: True
[Unit]
Description=Matrix Postmoogle bridge
{% for service in matrix_postmoogle_systemd_required_services_list %}
{% for service in matrix_bridge_postmoogle_systemd_required_services_list %}
Requires={{ service }}
After={{ service }}
{% endfor %}
{% for service in matrix_postmoogle_systemd_wanted_services_list %}
{% for service in matrix_bridge_postmoogle_systemd_wanted_services_list %}
Wants={{ service }}
{% endfor %}
DefaultDependencies=no
@@ -23,23 +23,23 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
--cap-drop=ALL \
--read-only \
--network={{ matrix_postmoogle_container_network }} \
--env-file={{ matrix_postmoogle_config_path }}/env \
-p {{ matrix_postmoogle_smtp_host_bind_port }}:{{ matrix_postmoogle_port }} \
{% if matrix_postmoogle_ssl_path %}
-p {{ matrix_postmoogle_submission_host_bind_port }}:{{ matrix_postmoogle_tls_port }} \
--network={{ matrix_bridge_postmoogle_container_network }} \
--env-file={{ matrix_bridge_postmoogle_config_path }}/env \
-p {{ matrix_bridge_postmoogle_smtp_host_bind_port }}:{{ matrix_bridge_postmoogle_port }} \
{% if matrix_bridge_postmoogle_ssl_path %}
-p {{ matrix_bridge_postmoogle_submission_host_bind_port }}:{{ matrix_bridge_postmoogle_tls_port }} \
{% endif %}
--mount type=bind,src={{ matrix_postmoogle_data_path }},dst=/data \
{% if matrix_postmoogle_ssl_path %}
--mount type=bind,src={{ matrix_postmoogle_ssl_path }},dst=/ssl \
--mount type=bind,src={{ matrix_bridge_postmoogle_data_path }},dst=/data \
{% if matrix_bridge_postmoogle_ssl_path %}
--mount type=bind,src={{ matrix_bridge_postmoogle_ssl_path }},dst=/ssl \
{% endif %}
{% for arg in matrix_postmoogle_container_extra_arguments %}
{% for arg in matrix_bridge_postmoogle_container_extra_arguments %}
{{ arg }} \
{% endfor %}
{{ matrix_postmoogle_container_image }}
{{ matrix_bridge_postmoogle_container_image }}
{% if matrix_postmoogle_container_network != 'host' %}
{% for network in matrix_postmoogle_container_additional_networks %}
{% if matrix_bridge_postmoogle_container_network != 'host' %}
{% for network in matrix_bridge_postmoogle_container_additional_networks %}
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-postmoogle
{% endfor %}
{% endif %}