add wireguard config
This commit is contained in:
parent
bb57006968
commit
51d38248db
7 changed files with 44 additions and 1 deletions
10
roles/wireguard/tasks/main.yml
Normal file
10
roles/wireguard/tasks/main.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
- name: Install wireguard
|
||||
become: true
|
||||
apt:
|
||||
name: wireguard
|
||||
state: present
|
||||
- name: Install home.conf
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/home.conf.j2"
|
||||
dest: /etc/wireguard/home.conf
|
Reference in a new issue