roles/common: Move cleanup to a one-off play

We only need to run this once on existing hosts that are using the
old firewalld/ipsets setup before applying the new nftables config.
This commit is contained in:
2021-07-29 10:00:30 +03:00
parent b4d50166f4
commit 46fc2ce3d4
2 changed files with 0 additions and 43 deletions

View File

@ -4,9 +4,6 @@
# Ubuntu 16.04 will use firewalld with the iptables backend.
- block:
- include_tasks: firewall_Ubuntu_cleanup.yml
when: ansible_distribution_version is version('20.04', '==')
- name: Set Ubuntu firewall packages
when: ansible_distribution_version is version('20.04', '<')
set_fact: