Skip to content
Snippets Groups Projects
Commit e30735e0 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: insert iptables rules at the top instead of appending them at the bottom,...

fix: insert iptables rules at the top instead of appending them at the bottom, because otherwise all rules below the 'reject' rule will not work as expected
parent c9a271ae
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Configure common rules # Configure common rules
- name: iptables-Regeln setzen (alle Beteiligten) - name: iptables-Regeln setzen (alle Beteiligten)
iptables: iptables:
action: append action: insert
chain: INPUT chain: INPUT
comment: "{{ item.comment }}" comment: "{{ item.comment }}"
destination: "{{ item.dest | default(omit) }}" destination: "{{ item.dest | default(omit) }}"
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# Configure specific rules # Configure specific rules
- name: iptables-Regeln setzen (producer agnostic test system) - name: iptables-Regeln setzen (producer agnostic test system)
iptables: iptables:
action: append action: insert
chain: INPUT chain: INPUT
comment: "{{ item.comment }}" comment: "{{ item.comment }}"
destination: "{{ item.dest | default(omit) }}" destination: "{{ item.dest | default(omit) }}"
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
- name: iptables-Regeln setzen (UB Leipzig) - name: iptables-Regeln setzen (UB Leipzig)
iptables: iptables:
action: append action: insert
chain: INPUT chain: INPUT
comment: "{{ item.comment }}" comment: "{{ item.comment }}"
destination: "{{ item.dest | default(omit) }}" destination: "{{ item.dest | default(omit) }}"
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
- name: iptables-Regeln setzen (Mediathek) - name: iptables-Regeln setzen (Mediathek)
iptables: iptables:
action: append action: insert
chain: INPUT chain: INPUT
comment: "{{ item.comment }}" comment: "{{ item.comment }}"
destination: "{{ item.dest | default(omit) }}" destination: "{{ item.dest | default(omit) }}"
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
- name: iptables-Regeln setzen (Fotothek & DevBoost) - name: iptables-Regeln setzen (Fotothek & DevBoost)
iptables: iptables:
action: append action: insert
chain: INPUT chain: INPUT
comment: "{{ item.comment }}" comment: "{{ item.comment }}"
destination: "{{ item.dest | default(omit) }}" destination: "{{ item.dest | default(omit) }}"
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
- name: iptables-Regeln setzen (Sanitytest) - name: iptables-Regeln setzen (Sanitytest)
iptables: iptables:
action: append action: insert
chain: INPUT chain: INPUT
comment: "{{ item.comment }}" comment: "{{ item.comment }}"
destination: "{{ item.dest | default(omit) }}" destination: "{{ item.dest | default(omit) }}"
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
- name: iptables-Regeln setzen (SLUB Kitodo) - name: iptables-Regeln setzen (SLUB Kitodo)
iptables: iptables:
action: append action: insert
chain: INPUT chain: INPUT
comment: "{{ item.comment }}" comment: "{{ item.comment }}"
destination: "{{ item.dest | default(omit) }}" destination: "{{ item.dest | default(omit) }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment