From 532b533516e0f8068b039ab62288587e34e99878 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 5 Oct 2019 12:00:08 +0300 Subject: [PATCH] roles/common: Update apt in firewall task Otherwise the buster-backports source might not be available, as the nightly security upates use a different apt sources.list. --- roles/common/tasks/firewall_Debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/common/tasks/firewall_Debian.yml b/roles/common/tasks/firewall_Debian.yml index 6799c4d..bab1664 100644 --- a/roles/common/tasks/firewall_Debian.yml +++ b/roles/common/tasks/firewall_Debian.yml @@ -3,7 +3,7 @@ - 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 + apt: pkg=iptables state=present default_release=buster-backports update_cache=yes cache_valid_time=3600 - name: Install firewalld and deps when: ansible_distribution_major_version is version_compare('8', '>=')