diff --git a/tasks/config.yml b/tasks/config.yml index 6e25393..e375f07 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -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 diff --git a/tasks/main.yml b/tasks/main.yml index 6f1227c..865c60a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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