summaryrefslogtreecommitdiff
path: root/playbooks/roles/outbound/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/outbound/tasks/main.yml')
-rw-r--r--playbooks/roles/outbound/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/playbooks/roles/outbound/tasks/main.yml b/playbooks/roles/outbound/tasks/main.yml
index 863351f..107e71a 100644
--- a/playbooks/roles/outbound/tasks/main.yml
+++ b/playbooks/roles/outbound/tasks/main.yml
@@ -94,6 +94,18 @@
with_filetree: '../templates/proxy'
when: item.state == 'file'
+- name: Allow mail ports
+ with_items:
+ - "25"
+ - "587"
+ - "465"
+ - "993"
+ - "4190"
+ community.general.ufw:
+ rule: allow
+ port: "{{ item }}"
+ state: "enabled"
+
- name: Daemon-reload and enable proxy
ansible.builtin.systemd_service:
state: started