changed local path for fetched and resent wireguard client configuration file
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
- name: Dupliciating DSNet VPN service client configuration files to control node
|
||||
ansible.builtin.fetch:
|
||||
src: "{{ ansible_user_home.stdout }}/.wg/authorized_clients.d/{{ item.name }}{{ (idx | string) }}.conf"
|
||||
dest: "./roles/init-server/files/user/wg/containerized/{{ item.name }}{{ (idx | string) }}.conf"
|
||||
dest: "./roles/init-server/files/user/wg/authorized_clients.d/{{ item.name }}{{ (idx | string) }}.conf"
|
||||
flat: true
|
||||
loop: "{{ vpn.clients }}"
|
||||
loop_control:
|
||||
|
||||
Reference in New Issue
Block a user