Add wireguard role

certbot_on_virtu
Alexandre Iooss 2019-06-09 16:21:06 +02:00
parent dbb2bb62f2
commit c9a9d69739
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
3 changed files with 28 additions and 0 deletions

8
network.yml 100644
View File

@ -0,0 +1,8 @@
---
# Deploy tunnel
- hosts: boeing.adm.crans.org
vars:
# Debian mirror on adm
debian_mirror: http://mirror.adm.crans.org/debian
roles:
- wireguard

View File

@ -0,0 +1,15 @@
---
- name: Add Debian unstable repository
apt_repository:
repo: "deb {{ debian_mirror }} unstable main"
state: present
- name: Limit unstable packages
template:
src: apt/preferences.d/limit-unstable.j2
dest: /etc/apt/preferences.d/limit-unstable
- name: Install wireguard
apt:
update_cache: true
name: wireguard

View File

@ -0,0 +1,5 @@
# {{ ansible_managed }}
Package: *
Pin: release a=unstable
Pin-Priority: 90