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:
@ -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:
|
||||
|
Reference in New Issue
Block a user