install wireguard

This commit is contained in:
Jean-Marie Mineau 2021-04-22 20:49:28 +02:00
parent d25ad653b1
commit ef97477ed2

View file

@ -4,3 +4,13 @@
repo: deb http://deb.debian.org/debian buster-backports main repo: deb http://deb.debian.org/debian buster-backports main
state: present state: present
when: "'debian_buster' in group_names or 'proxmox_buster' in group_names" when: "'debian_buster' in group_names or 'proxmox_buster' in group_names"
- name: Install wireguard
apt:
name:
- wireguard
state: latest
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded