From 4401242cda9ef062b3e5894bb44b27cd5095afd5 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 2 Apr 2024 10:22:21 +0300 Subject: [PATCH] Auto-wire PeerTube to exim-relay, if enabled --- templates/group_vars_mash_servers | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/group_vars_mash_servers b/templates/group_vars_mash_servers index 9959aa6..c979f7f 100644 --- a/templates/group_vars_mash_servers +++ b/templates/group_vars_mash_servers @@ -3901,6 +3901,12 @@ peertube_systemd_required_services_list_auto: | ([devture_postgres_identifier ~ '.service'] if devture_postgres_enabled and peertube_config_database_hostname == devture_postgres_identifier else []) }} +# role-specific:exim_relay +peertube_config_smtp_hostname: "{{ exim_relay_identifier if exim_relay_enabled else '' }}" +peertube_config_smtp_port: "{{ 8025 if exim_relay_enabled else '' }}" +peertube_config_smtp_from: "{{ exim_relay_sender_address if exim_relay_enabled else '' }}" +# /role-specific:exim_relay + ######################################################################## # # # /peertube #