mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Solved wireguard name bugs
This commit is contained in:
@@ -18,10 +18,10 @@
|
|||||||
group: root
|
group: root
|
||||||
notify: reload sysctl configuration
|
notify: reload sysctl configuration
|
||||||
|
|
||||||
- name: create /etc/wireguard/wg0.{{ SOFTWARE_NAME | lower }}.conf
|
- name: "deploy {{ WG0_CONF_DEST }}"
|
||||||
copy:
|
copy:
|
||||||
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/etc/wireguard/wg0.conf"
|
src: "{{ [inventory_dir, 'files', inventory_hostname, 'etc/wireguard/wg0.conf' ] | path_join }}"
|
||||||
dest: /etc/wireguard/wg0.{{ SOFTWARE_NAME | lower }}.conf
|
dest: "{{ WG0_CONF_DEST }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
notify: restart wireguard
|
notify: restart wireguard
|
@@ -1 +1,3 @@
|
|||||||
application_id: svc-net-wireguard-core
|
application_id: svc-net-wireguard-core
|
||||||
|
|
||||||
|
WG0_CONF_DEST: "/etc/wireguard/wg0.conf"
|
Reference in New Issue
Block a user