pseudo fix for proxmox

This commit is contained in:
Jean-Marie Mineau 2021-04-22 23:33:09 +02:00
parent 7cfe1091d5
commit 5710b2bf89

View file

@ -5,6 +5,18 @@
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 dependencies for proxmox
apt:
name:
- pve-headers
- wireguard-dkms # May need a `dkms autoinstall` and reboot ?
state: latest
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
when: "'proxmox_buster' in group_names"
- name: Install wireguard - name: Install wireguard
apt: apt:
name: name: