Compare commits

...

2 Commits

Author SHA1 Message Date
Emmy D'Anello da79c9264a
Unattend-upgrades upgrade also debian-updates and debian-backports
Signed-off-by: Emmy D'Anello <ynerant@emy.lu>
2023-04-09 10:54:16 +02:00
Emmy D'Anello 34c7601cf7
Don't use password for nullmailer
Signed-off-by: Emmy D'Anello <ynerant@emy.lu>
2023-04-09 10:50:47 +02:00
3 changed files with 4 additions and 5 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

@ -28,11 +28,12 @@ Unattended-Upgrade::Origins-Pattern {
// archives (e.g. from testing to stable and later oldstable).
// Software will be the latest available for the named release,
// but the Debian release itself will not be automatically upgraded.
// "origin=Debian,codename=${distro_codename}-updates";
// "origin=Debian,codename=${distro_codename}-proposed-updates";
"origin=Debian,codename=${distro_codename},label=Debian";
"origin=Debian,codename=${distro_codename}-updates";
"origin=Debian,codename=${distro_codename}-proposed-updates";
"origin=Debian,codename=${distro_codename},label=Debian-Security";
"origin=Debian,codename=${distro_codename}-security,label=Debian-Security";
"origin=Debian Backports,codename=${distro_codename}-backports,label=Debian Backports"
// Archive or Suite based matching:
// Note that this will silently match a different release after

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