add default state to iptables task
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
5c5f2b82e4
commit
9eafab32ff
@ -80,7 +80,7 @@
|
||||
iptables_raw:
|
||||
name: "{{ item.name }}"
|
||||
rules: "{{ item.rules }}"
|
||||
state: "{{ item.state }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
weight: "{{ item.weight | default(omit) }}"
|
||||
table: "{{ item.table | default(omit) }}"
|
||||
loop: "{{ nginx_iptables_rules_default + nginx_iptables_rules_extra }}"
|
||||
|
Loading…
Reference in New Issue
Block a user