mirror of
https://git.local.zernis.ch/simon/homeserver.zernis.ch.git
synced 2025-12-15 21:39:40 +01:00
23 lines
430 B
YAML
23 lines
430 B
YAML
---
|
|
- 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 }}" |