Swap out alpine for debian on ingress

Mostly for future nebula deployment
This commit is contained in:
Jake Howard 2021-01-22 14:53:02 +00:00
parent 0f9802a46c
commit a2c6d7c276
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,8 +1,7 @@
- name: Install Wireguard - name: Install Wireguard
package: package:
name: name:
- wireguard-virt - wireguard
- wireguard-tools
become: true become: true
- name: Get wireguard credentials - name: Get wireguard credentials
@ -18,18 +17,9 @@
become: true become: true
notify: restart wireguard notify: restart wireguard
# Wireguard on Alpine doesn't ship a native OpenRC service
- name: Download wireguard service
get_url:
url: https://gitweb.gentoo.org/repo/gentoo.git/plain/net-vpn/wireguard-tools/files/wg-quick.init
dest: /etc/init.d/wg-quick.wg0
mode: "0755"
backup: yes
become: true
- name: Enable wireguard - name: Enable wireguard
service: service:
name: wg-quick.wg0 name: wg-quick@wg0
enabled: true enabled: true
become: true become: true