diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-01-04 14:14:38 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-01-04 14:32:30 +0100 |
commit | 180e0b6d7927e1f74af22a7c939fe1ae84867660 (patch) | |
tree | 496d8b8288940c115e63d3eef7e0e49544ef6417 /handlers | |
parent | 6691410f945719e62601c3d69d9b2ff9c4cfb4fb (diff) |
Install postfix and configure it as a nullmailer.
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/handlers/main.yml b/handlers/main.yml index d3d7755..9a4521f 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -26,5 +26,17 @@ - name: Restart OpenSSH service: name=ssh.service state=restarted +- name: Restart Postfix + service: name=postfix.service state=restarted + +- name: Reload Postfix + service: name=postfix.service state=reloaded + +- name: Run newaliases + command: /usr/bin/newaliases + +- name: Compile /etc/postfix/tls_policy + command: /usr/sbin/postmap /etc/postfix/tls_policy + - name: Update initramfs command: /usr/sbin/update-initramfs -u |