Remove email password from playbook.
This commit is contained in:
@@ -5,13 +5,16 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Include email variables
|
||||||
|
include_vars: vars/email.yaml
|
||||||
|
|
||||||
- name: Send Email
|
- name: Send Email
|
||||||
community.general.mail:
|
community.general.mail:
|
||||||
host: mail.steinle-computer.de
|
host: mail.steinle-computer.de
|
||||||
port: 465
|
port: 465
|
||||||
from: kontakt@steinle-computer.de (Christian Steinle)
|
from: kontakt@steinle-computer.de (Christian Steinle)
|
||||||
username: kontakt@steinle-computer.de
|
username: kontakt@steinle-computer.de
|
||||||
password: lmaa,dw.
|
password: "{{ mail_password }}"
|
||||||
to: "{{ item[1] }}"
|
to: "{{ item[1] }}"
|
||||||
subject: Datenbank Backup
|
subject: Datenbank Backup
|
||||||
body: Backup der Anwendung wurde erstellt.
|
body: Backup der Anwendung wurde erstellt.
|
||||||
|
|||||||
Reference in New Issue
Block a user