self-hosting/roles/postfix/tasks/main.yml

17 lines
289 B
YAML
Raw Normal View History

2025-01-19 22:00:20 +01:00
---
- name: Install needed packages
become: true
ansible.builtin.apt:
name: postfix
2025-01-19 22:26:36 +01:00
- name: Copy main.cf
become: true
ansible.builtin.template:
src: main.cf.j2
dest: /etc/postfix/main.cf
owner: root
group: root
mode: 0644
notify: Reload postfix service