ansible/roles/vpn/tasks/main.yml

17 lines
386 B
YAML
Raw Normal View History

2021-04-22 20:31:33 +02:00
---
- name: Add backports to buster
apt_repository:
repo: deb http://deb.debian.org/debian buster-backports main
state: present
2021-04-22 20:37:33 +02:00
when: "'debian_buster' in group_names or 'proxmox_buster' in group_names"
2021-04-22 20:49:28 +02:00
- name: Install wireguard
apt:
name:
- wireguard
state: latest
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded