ansible-role-postfix/tasks/postfix_firewalld.yml

9 lines
410 B
YAML
Raw Normal View History

2020-06-08 16:57:40 +02:00
---
- name: Manage the postfix firewalld rules
block:
- name: Manage the postfix related services
firewalld: service={{ item.service }} zone={{ item.zone }} permanent={{ item.permanent | default(True) }} state={{ item.state }} immediate=True
with_items: '{{ postfix_firewalld_services }}'
2021-12-04 18:20:15 +01:00
when: firewalld_enabled
2020-06-08 16:57:40 +02:00
tags: [ 'postfix', 'firewall', 'firewalld', 'iptables', 'iptables_rules' ]