roles/common: Use iptables 1.8.3 on Debian Buster
There is a bug in iptables 1.8.2 in Debian 10 "Buster" that causes firewalld to fail when restoring rules. The bug has been fixed in iptables 1.8.3, which is currently in buster-backports. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914694
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
---
|
||||
|
||||
- block:
|
||||
- name: Install iptables 1.8.3 on Debian Buster
|
||||
when: ansible_distribution_major_version is version_compare('10', '==')
|
||||
apt: pkg=iptables state=present default_release=buster-backports
|
||||
|
||||
- name: Install firewalld and deps
|
||||
when: ansible_distribution_major_version is version_compare('8', '>=')
|
||||
apt: pkg={{ item }} state=present
|
||||
|
Reference in New Issue
Block a user