From abe1f5813efb8adc6d70772ceefd49f330297a1e Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 10 Apr 2020 10:53:27 +0200 Subject: [PATCH] Add SMTP_PASSWORD into the environment --- ansible/pre-deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/pre-deploy.yml b/ansible/pre-deploy.yml index 4fa3401..fc840ae 100644 --- a/ansible/pre-deploy.yml +++ b/ansible/pre-deploy.yml @@ -74,3 +74,10 @@ - /var/lib/alerta/alerta.conf:/app/alerta.conf - /var/lib/alerta/alertad.conf:/app/alertad.conf - /var/lib/alerta/config.json:/web/config.json + + - name: Configure the dokku app environment + dokku_config: + app: alerta + restart: false + config: + SMTP_PASSWORD: "{{ smtp_password }}"