fix(wireguard_server): Correct Jinja2 variable syntax
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
block:
|
block:
|
||||||
- name: Download and unarchive wstunnel package
|
- name: Download and unarchive wstunnel package
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
src: "{{ wstunnel-download-url }}"
|
src: "{{ vars['wstunnel-download-url'] }}"
|
||||||
dest: /tmp
|
dest: /tmp
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
creates: /tmp/wstunnel
|
creates: /tmp/wstunnel
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=nobody
|
User=nobody
|
||||||
ExecStart=/usr/local/bin/wstunnel -s 0.0.0.0:8080 -t udp://127.0.0.1:{{ wireguard-server.internal-port }}
|
ExecStart=/usr/local/bin/wstunnel -s 0.0.0.0:8080 -t udp://127.0.0.1:{{ vars['wireguard-server']['internal-port'] }}
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user