From f2f1591f16e3aa4a6d77079819bc7e578e51a0ce Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Mon, 28 Apr 2025 08:21:48 +0200 Subject: [PATCH] Remove email password from playbook. --- email.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/email.yaml b/email.yaml index 1e5137b..580fcee 100644 --- a/email.yaml +++ b/email.yaml @@ -5,13 +5,16 @@ gather_facts: false tasks: + - name: Include email variables + include_vars: vars/email.yaml + - name: Send Email community.general.mail: host: mail.steinle-computer.de port: 465 from: kontakt@steinle-computer.de (Christian Steinle) username: kontakt@steinle-computer.de - password: lmaa,dw. + password: "{{ mail_password }}" to: "{{ item[1] }}" subject: Datenbank Backup body: Backup der Anwendung wurde erstellt.