Remove logic for Ubuntu 20.04 and Debian 11

This commit is contained in:
2025-03-29 23:09:44 +03:00
parent 027a43ddbe
commit 88cb3a370e
10 changed files with 2 additions and 2510 deletions

View File

@ -59,12 +59,7 @@ NFT_HEAD
fi
echo "Reloading nftables"
{% if ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '<=') %}
{% set systemctl_bin = '/bin/systemctl' %}
{% else %}
{% set systemctl_bin = '/usr/bin/systemctl' %}
{% endif -%}
{{ systemctl_bin }} reload nftables.service
/usr/bin/systemctl reload nftables.service
rm -v firehol_level1.netset