Remove email password from playbook.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user