Don't use password for nullmailer

Signed-off-by: Emmy D'Anello <ynerant@emy.lu>
This commit is contained in:
Emmy D'Anello 2023-04-09 10:50:47 +02:00
parent fb1b19bcfd
commit 34c7601cf7
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 1 additions and 3 deletions

View File

@ -4,5 +4,3 @@ glob_nullmailer:
smtp_server: smtp.adm.ynerant.fr
defaulthost: ynerant.fr
allmailfrom: root@ynerant.fr
username: noreply@ynerant.fr
password: "{{ vault.mailu_password }}"

View File

@ -11,7 +11,7 @@
- name: Set nullmailer remotes
copy:
content: "{{ nullmailer.smtp_server }} smtp --auth-login --user={{ nullmailer.username }} --pass='{{ nullmailer.password }}'\n"
content: "{{ nullmailer.smtp_server }} smtp'\n"
dest: /etc/nullmailer/remotes
mode: 0644