Skip to content
Snippets Groups Projects
Commit 17b00cbb authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

refactor!: rm hardcoded "wg" prefix

parent ae2d5333
Branches
Tags
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
with_dict: "{{ wireguard }}" with_dict: "{{ wireguard }}"
ansible.builtin.template: ansible.builtin.template:
src: wireguard.conf.j2 src: wireguard.conf.j2
dest: "/etc/wireguard/wg{{ item.key }}.conf" dest: "/etc/wireguard/{{ item.key }}.conf"
owner: root owner: root
group: root group: root
mode: "0644" mode: "0644"
...@@ -37,4 +37,4 @@ ...@@ -37,4 +37,4 @@
state: restarted state: restarted
enabled: true enabled: true
daemon_reload: true daemon_reload: true
name: "wg-quick@wg{{ item }}.service" name: "wg-quick@{{ item }}.service"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment