ansible-role-postfix/tasks/postfix_firewalld.yml

8 lines
384 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 }}'
tags: [ 'postfix', 'firewall', 'firewalld', 'iptables', 'iptables_rules' ]