[wireguard] add

master
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