diff --git a/tasks/config.yml b/tasks/config.yml index 1ab1d3e..7045f63 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -6,8 +6,8 @@ name: 'iptables_custom_rules_{{ item.name }}' rules: '{{ item.rules }}' state: '{{ item.state }}' - weight: '{{ item.weight|default(omit) }}' - table: '{{ item.table|default(omit) }}' + weight: '{{ item.weight | default(omit) }}' + table: '{{ item.table | default(omit) }}' with_items: '{{ iptables_custom_rules }}' loop_control: label: "{{ item.name }}"