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:
parent
0b8f82ba12
commit
532b533516
@ -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', '>=')
|
||||
|
Loading…
Reference in New Issue
Block a user