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.
This commit is contained in:
Alan Orth 2019-10-05 12:00:08 +03:00
parent 0b8f82ba12
commit 532b533516
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -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', '>=')