[keepalived] Routers don't need buster-backports anymore

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2022-01-12 16:22:50 +01:00 committed by ynerant
parent 36f5a5d6d0
commit e834ff1b85
1 changed files with 0 additions and 21 deletions

View File

@ -1,25 +1,4 @@
---
- name: Add buster-backports to apt sources
apt_repository:
repo: deb {{ debian_mirror }} buster-backports main
state: present
when:
- ansible_distribution == "Debian"
- ansible_distribution_major_version | int == 10
- ansible_distribution_release == "buster"
- name: Use buster-backports to install keepalived
template:
src: apt/preferences.d/keepalived.j2
dest: /etc/apt/preferences.d/keepalived
owner: root
group: root
mode: 0644
when:
- ansible_distribution == "Debian"
- ansible_distribution_major_version | int == 10
- ansible_distribution_release == "buster"
- name: Install keepalived
apt:
update_cache: true