Discontinue use of the WireGuard PPA

This commit is contained in:
David E. Myers 2020-08-04 10:07:18 -04:00
parent f0d0e91be0
commit bbb6feb8d3
No known key found for this signature in database
GPG key ID: D871FCA54815086C
6 changed files with 3 additions and 38 deletions

View file

@ -39,7 +39,6 @@ jobs:
- name: Install dependencies
run: |
sudo apt update -y
sudo add-apt-repository -yu ppa:wireguard/wireguard
sudo apt install -y \
python3-pip \
lxd \
@ -108,7 +107,6 @@ jobs:
- name: Install dependencies
run: |
set -x
sudo add-apt-repository -yu ppa:wireguard/wireguard
sudo add-apt-repository -yu ppa:ubuntu-lxc/stable
sudo apt update -y
sudo apt install -y \

View file

@ -2,14 +2,9 @@
## Install WireGuard
To connect to your AlgoVPN using [WireGuard](https://www.wireguard.com) from Ubuntu, first install WireGuard:
To connect to your AlgoVPN using [WireGuard](https://www.wireguard.com) from Ubuntu, make sure your system is up-to-date then install WireGuard:
```shell
# Ubuntu 16.04 only: Add the WireGuard repository
sudo add-apt-repository ppa:wireguard/wireguard
sudo apt update
# Install the tools:
sudo apt install wireguard openresolv
```

View file

@ -21,7 +21,7 @@ No. This project is under active development. We're happy to [accept and fix iss
## What's the current status of WireGuard?
[WireGuard reached "stable" 1.0.0 release](https://lists.zx2c4.com/pipermail/wireguard/2020-March/005206.html) in Spring 2020. It has undergone [substantial](https://www.wireguard.com/formal-verification/) security review. Releases are tagged with their build date -- "0.0.YYYYMMDD" -- and users should be advised to apply new updates when they are available. Your Algo server will automatically upgrade and restart WireGuard. For Ubuntu 18.04 LTS, it will retrieve updates from the [official WireGuard PPA for Ubuntu](https://launchpad.net/~wireguard/+archive/ubuntu/wireguard) by default.
[WireGuard reached "stable" 1.0.0 release](https://lists.zx2c4.com/pipermail/wireguard/2020-March/005206.html) in Spring 2020. It has undergone [substantial](https://www.wireguard.com/formal-verification/) security review.
## Why aren't you using Tor?

View file

@ -1,5 +1,5 @@
---
install_headers: true
install_headers: false
aip_supported_providers:
- digitalocean
snat_aipv4: false

View file

@ -1,4 +0,0 @@
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
"LP-PPA-wireguard-wireguard:${distro_codename}";
};

View file

@ -1,34 +1,10 @@
---
- block:
- name: WireGuard repository configured
apt_repository:
repo: ppa:wireguard/wireguard
state: present
register: result
until: result is succeeded
retries: 10
delay: 3
- name: Configure unattended-upgrades
copy:
src: 50-wireguard-unattended-upgrades
dest: /etc/apt/apt.conf.d/50-wireguard-unattended-upgrades
owner: root
group: root
mode: 0644
when: ansible_facts['distribution_version'] is version('20.04', '<')
- name: WireGuard installed
apt:
name: wireguard
state: present
update_cache: true
- name: WireGuard reload-module-on-update
file:
dest: /etc/wireguard/.reload-module-on-update
state: touch
- name: Set OS specific facts
set_fact:
service_name: "wg-quick@{{ wireguard_interface }}"