mirror of
https://git.local.zernis.ch/simon/homeserver.zernis.ch.git
synced 2025-12-16 13:47:31 +01:00
first commit
This commit is contained in:
23
roles/defaults/handlers/main.yml
Normal file
23
roles/defaults/handlers/main.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
- name: Restart postfix
|
||||
ansible.builtin.service:
|
||||
name: postfix
|
||||
state: restarted
|
||||
|
||||
- name: New aliases
|
||||
become: true
|
||||
ansible.builtin.command: newaliases
|
||||
|
||||
- name: Restart ssh
|
||||
ansible.builtin.service:
|
||||
name: ssh
|
||||
state: restarted
|
||||
|
||||
- name: Restart cron
|
||||
ansible.builtin.service:
|
||||
name: cron
|
||||
state: restarted
|
||||
|
||||
- name: Postmap relay_passwd
|
||||
ansible.builtin.command: >
|
||||
postmap "{{ smtp_sasl_file }}"
|
||||
Reference in New Issue
Block a user