From d545354e4dad4cc1e9abef7b27ccf06fa44cca74 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Tue, 10 Dec 2024 10:09:45 +0100 Subject: [PATCH] sals password instead of passwd --- tasks/configure.yml | 4 ++-- templates/sasl_passwd.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 67bb030..eb81608 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -35,7 +35,7 @@ notify: restart postfix when: postfix_sender_relay is defined -- name: postfix | sasl password +- name: postfix | sasl passwd template: src: sasl_passwd.j2 dest: /etc/postfix/sasl_passwd @@ -43,5 +43,5 @@ group: root mode: 0644 notify: restart postfix - when: postfix_sasl_password is defined + when: postfix_sasl_passwd is defined diff --git a/templates/sasl_passwd.j2 b/templates/sasl_passwd.j2 index ce390d1..6a542db 100644 --- a/templates/sasl_passwd.j2 +++ b/templates/sasl_passwd.j2 @@ -1,5 +1,5 @@ {% if postfix_sasl_passwd is defined %} {% for passwd in postfix_sasl_passwd %} -{{ passwd }} +{{ passwd }} {% endfor %} {% endif %}