Move wireguard install to wireguard role
This commit is contained in:
parent
6574b1c86b
commit
f06d757010
@ -5,10 +5,6 @@
|
||||
sysctl_file: "/etc/sysctl.d/local.conf"
|
||||
reload: true
|
||||
|
||||
- name: "install wireguard"
|
||||
ansible.builtin.apt:
|
||||
name: "wireguard"
|
||||
|
||||
- name: "script for creating virtual interfaces"
|
||||
ansible.builtin.copy:
|
||||
src: "./ip-link-add.sh"
|
||||
|
@ -1,3 +1,7 @@
|
||||
- name: "install wireguard"
|
||||
ansible.builtin.apt:
|
||||
name: "wireguard"
|
||||
|
||||
- name: "configure wireguard"
|
||||
ansible.builtin.template:
|
||||
src: "./wg0.conf.j2"
|
||||
|
Loading…
Reference in New Issue
Block a user