improve wireguard
This commit is contained in:
parent
0d505900fa
commit
2ecd42e474
4 changed files with 46 additions and 21 deletions
|
@ -6,5 +6,6 @@
|
|||
- name: Install home.conf
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/home.conf.j2"
|
||||
dest: /etc/wireguard/home.conf
|
||||
src: "{{ role_path }}/templates/wg.conf.j2"
|
||||
dest: "/etc/wireguard/{{ item.name }}.conf"
|
||||
loop: "{{ wireguard_interfaces }}"
|
||||
|
|
Reference in a new issue