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"