roles/common: Don't use iptables from buster-backports

This causes problems every time I re-run the Ansible tag because the
nightly apt security uses a different sources.list and the indexes
are then missing buster-backports. I could add a cache update to the
task, but actually I think the original bug I was trying to solve is
finally fixed, and I'm going to switch to nftables anyways.
This commit is contained in:
Alan Orth 2019-10-18 18:53:21 +03:00
parent 1b0a6703b6
commit 7c0b458bc1
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -1,10 +1,6 @@
--- ---
- block: - 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 update_cache=yes cache_valid_time=3600
- name: Install firewalld and deps - name: Install firewalld and deps
when: ansible_distribution_major_version is version_compare('8', '>=') when: ansible_distribution_major_version is version_compare('8', '>=')
apt: pkg={{ item }} state=present apt: pkg={{ item }} state=present