✨: add smtp global relay
Some checks failed
ansible-lint / lint-everything (push) Failing after 1m22s
Some checks failed
ansible-lint / lint-everything (push) Failing after 1m22s
This commit is contained in:
15
roles/global_smtp_relay/tasks/main.yml
Normal file
15
roles/global_smtp_relay/tasks/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
- name: Install postfix
|
||||
ansible.builtin.package:
|
||||
name: postfix
|
||||
state: present
|
||||
|
||||
- name: Put configuration
|
||||
ansible.builtin.template:
|
||||
src: main.cf.j2
|
||||
dest: /etc/postfix/main.cf.j2
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0o640"
|
||||
notify: Restart postfix
|
Reference in New Issue
Block a user