use loop_control
This commit is contained in:
parent
91c7cfef59
commit
032705673d
@ -13,6 +13,8 @@
|
||||
weight: '{{ item.weight|default(omit) }}'
|
||||
table: '{{ item.table|default(omit) }}'
|
||||
with_items: '{{ iptables_custom_rules }}'
|
||||
loop_control:
|
||||
label: "{{item.name}}"
|
||||
tags: iptables
|
||||
|
||||
- name: Set default iptables head rules
|
||||
|
@ -1,4 +1,4 @@
|
||||
---
|
||||
- include_vars: 'os_{{ ansible_os_family }}.yml'
|
||||
- include: install.yml
|
||||
- include: config.yml
|
||||
- include_tasks: install.yml
|
||||
- include_tasks: config.yml
|
||||
|
Loading…
Reference in New Issue
Block a user