From 8614701f2a7a2c16a18d12c9d251886a93045972 Mon Sep 17 00:00:00 2001 From: Albin Vass Date: Mon, 25 May 2020 20:42:19 +0200 Subject: [PATCH] persistent-firewall: update include to include_tasks Change-Id: I4654805d2d4beea9a7485eae970e36f237abf16b --- roles/persistent-firewall/tasks/main.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/persistent-firewall/tasks/main.yaml b/roles/persistent-firewall/tasks/main.yaml index c01201582..0691334ae 100644 --- a/roles/persistent-firewall/tasks/main.yaml +++ b/roles/persistent-firewall/tasks/main.yaml @@ -19,8 +19,7 @@ - skip_ansible_lint - name: Configure persistent iptables rules - include: "{{ zj_distro_os }}" - static: no + include_tasks: "{{ zj_distro_os }}" with_first_found: - "persist/{{ ansible_distribution }}_{{ ansible_distribution_release }}.yaml" - "persist/{{ ansible_distribution }}.yaml"