Verified Commit aff335e8 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

roles/postfix: Remove the tasks related to apollo from the postfix role

Apollo had special firewall rules, removed them from the role.
parent 56740542
Pipeline #4244 passed with stage
in 42 seconds
......@@ -108,21 +108,8 @@
- smtp
- smtp-submission
- smtps
when: postfix_smtpd_public and configure_firewall and inventory_hostname != "apollo.archlinux.org"
when: postfix_smtpd_public and configure_firewall
tags:
- firewall
- name: open ipv4 firewall holes on apollo
ansible.posix.firewalld: permanent=true state=enabled immediate=yes
rich_rule="rule family=ipv4 source address={{ hostvars['mail.archlinux.org']['ipv4_address'] }} port protocol=tcp port=25 accept"
when: postfix_smtpd_public and configure_firewall and inventory_hostname == "apollo.archlinux.org"
tags:
- firewall
- name: open ipv6 firewall holes on apollo
ansible.posix.firewalld: permanent=true state=enabled immediate=yes
rich_rule="rule family=ipv6 source address={{ hostvars['mail.archlinux.org']['ipv6_address'] }} port protocol=tcp port=25 accept"
when: postfix_smtpd_public and configure_firewall and inventory_hostname == "apollo.archlinux.org"
tags:
- firewall
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment