add iptables_custom_rules_extra var
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
672b9d79b5
commit
b5b081a460
@ -15,6 +15,7 @@ iptables_default_tail: |
|
||||
-A FORWARD -j REJECT
|
||||
|
||||
iptables_custom_rules: []
|
||||
iptables_custom_rules_extra: []
|
||||
|
||||
# @var iptables_keep_unmanaged:description: >
|
||||
# By default this role deletes all iptables rules which are not managed by Ansible.
|
||||
|
@ -8,7 +8,7 @@
|
||||
state: '{{ item.state }}'
|
||||
weight: '{{ item.weight | default(omit) }}'
|
||||
table: '{{ item.table | default(omit) }}'
|
||||
loop: '{{ iptables_custom_rules }}'
|
||||
loop: '{{ iptables_custom_rules + iptables_custom_rules_extra }}'
|
||||
loop_control:
|
||||
label: "{{ item.name }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user