Update to 2022-07-25 16:00

This commit is contained in:
Daniel Berteaud
2022-07-25 16:00:15 +02:00
parent 9e88a5cd50
commit be9c0c5702
26 changed files with 387 additions and 310 deletions

View File

@@ -0,0 +1,8 @@
---
- name: Handle odoo ports
iptables_raw:
name: odoo_ports
state: "{{ (odoo_src_ip | length > 0) | ternary('present','absent') }}"
rules: "-A INPUT -m state --state NEW -p tcp -m multiport --dports {{ odoo_ports | join(',') }} -s {{ odoo_src_ip | join(',') }} -j ACCEPT"
tags: firewall,odoo