Swap out alpine for debian on ingress
Mostly for future nebula deployment
This commit is contained in:
parent
0f9802a46c
commit
a2c6d7c276
1 changed files with 2 additions and 12 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue