Update to 2022-03-07 15:00

This commit is contained in:
Daniel Berteaud
2022-03-07 15:00:06 +01:00
parent 8b7e505180
commit be6bc20783
25 changed files with 253 additions and 120 deletions

View File

@@ -5,8 +5,7 @@
name: "{{ item.name }}"
state: "{{ (item.src_ip | length > 0) | ternary('present','absent') }}"
rules: "-A INPUT -m state --state NEW -p tcp --dport {{ item.port }} -s {{ item.src_ip | join(',') }} -j ACCEPT"
when: iptables_manage | default(True)
with_items:
loop:
- port: "{{ gitea_web_port }}"
name: gitea_web_port
src_ip: "{{ gitea_web_src_ip }}"