From: Jakub Czajka Date: Sun, 14 Jan 2024 13:52:30 +0000 (+0100) Subject: [postfix][dovecot] Install rsyslog. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=93d3774c7c7cce6ba13e0f71a888fad37380a922;p=metadata.git [postfix][dovecot] Install rsyslog. --- diff --git a/server.git/dovecot.yaml b/server.git/dovecot.yaml index 41bd9a9..9ff6e69 100644 --- a/server.git/dovecot.yaml +++ b/server.git/dovecot.yaml @@ -11,6 +11,7 @@ - dovecot-imapd - dovecot-lmtpd - dovecot-pgsql + - rsyslog state: latest become: true - name: Checkout dovecot's configuration files to /tmp @@ -79,8 +80,11 @@ with_items: - dovecot-info.log - dovecot.log - - name: Restart dovecot + - name: Restart dovecot and rsyslog service: - name: dovecot + name: "{{ item }}" state: restarted become: true + with_items: + - dovecot + - rsyslog diff --git a/server.git/postfix.yaml b/server.git/postfix.yaml index 9107a0a..422bfd9 100644 --- a/server.git/postfix.yaml +++ b/server.git/postfix.yaml @@ -10,6 +10,7 @@ name: - postfix - postfix-pgsql + - rsyslog state: latest become: true - name: Checkout postfix's configuration files to /tmp @@ -25,8 +26,11 @@ - domains.cf - main.cf - master.cf - - name: Restart postfix + - name: Restart postfix and rsyslog service: - name: postfix + name: "{{ item }}" state: restarted become: true + with_items: + - postfix + - rsyslog