diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-15 19:19:47 +0100 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-15 19:19:47 +0100 |
commit | e22c27b549ec1bfe7af7ae212839e0c81080cd3c (patch) | |
tree | c32f0c9caf8b317458148c60a458e916f8c1a009 /roles/wgnet/tasks | |
parent | ee9616ff128fe3938dc3490cbdb42298a5630742 (diff) | |
download | infra-e22c27b549ec1bfe7af7ae212839e0c81080cd3c.tar.gz infra-e22c27b549ec1bfe7af7ae212839e0c81080cd3c.tar.bz2 infra-e22c27b549ec1bfe7af7ae212839e0c81080cd3c.zip |
Rename wg0 interface to wgnet0
Diffstat (limited to 'roles/wgnet/tasks')
-rw-r--r-- | roles/wgnet/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/wgnet/tasks/main.yml b/roles/wgnet/tasks/main.yml index 9156fde..c7ca9bb 100644 --- a/roles/wgnet/tasks/main.yml +++ b/roles/wgnet/tasks/main.yml @@ -1,7 +1,7 @@ - name: Configure WireGuard for wgnet ansible.builtin.template: - src: templates/wg0.conf.j2 - dest: /etc/wireguard/wg0.conf + src: templates/wgnet0.conf.j2 + dest: /etc/wireguard/wgnet0.conf owner: root group: root # Config containes private key for this host, so permissions are @@ -11,6 +11,6 @@ - name: Enable WireGuard service for wgnet ansible.builtin.service: - name: wg-quick@wg0 + name: wg-quick@wgnet0 enabled: yes state: started |