[wireguard] add

This commit is contained in:
Simon Bruder 2019-02-11 14:09:00 +00:00
parent 8b5642873e
commit fbae5ea42c
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
4 changed files with 27 additions and 0 deletions

View file

@ -16,3 +16,4 @@
- role: docker
tags:
- docker
- role: wireguard

View file

@ -0,0 +1,3 @@
Package: *
Pin: release a=unstable
Pin-Priority: 90

View file

@ -0,0 +1,7 @@
---
- block:
- import_tasks: packages.yml
tags:
- wireguard:packages
tags:
- wireguard

View file

@ -0,0 +1,16 @@
---
- name: add unstable repositories
apt_repository:
repo: deb https://deb.debian.org/debian/ unstable main
state: present
- name: configure apt pinning for unstable
copy:
src: apt-preferences-unstable
dest: /etc/apt/preferences.d/limit-unstable
- name: install wireguard
apt:
name: wireguard
update_cache: yes
state: present