use loop_control

This commit is contained in:
Robert Kaussow 2017-12-09 13:39:57 +01:00
parent 91c7cfef59
commit 032705673d
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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