feat(role): Initial commit

This commit is contained in:
2025-04-02 03:17:05 +02:00
parent 2f72620a77
commit 06345b13ff
8 changed files with 197 additions and 88 deletions

12
handlers/main.yml Normal file
View File

@@ -0,0 +1,12 @@
# SPDX-License-Identifier: MIT
- name: 'Rebuild e-mail aliases lookup tables'
ansible.builtin.shell: |
newaliases
listen: 'Ensure that a Mail Transfer Agent is running with newest config'
- name: 'Restart postfix.service'
ansible.builtin.service:
name: 'postfix.service'
state: 'restarted'
enabled: true
listen: 'Ensure that a Mail Transfer Agent is running with newest config'