1 parent 97f1447 commit 9174173Copy full SHA for 9174173
1 file changed
roles/wireguard/tasks/utils-wireguard-download-configs.yml
@@ -7,6 +7,7 @@
7
mode: "0755"
8
9
- name: download wireguard peer client configs to the controller
10
+ become: true
11
fetch:
12
src: /etc/wireguard/peers/client-config/{{ item.name }}.conf
13
dest: "{{ playbook_dir }}/data/wireguard/{{ inventory_hostname }}/{{ item.name }}.conf"
@@ -16,6 +17,7 @@
16
17
ignore_errors: "{{ ansible_check_mode }}"
18
19
- name: download wireguard peer QR codes to the controller
20
21
22
src: /etc/wireguard/peers/client-config/{{ item.name }}.qrcode
23
dest: "{{ playbook_dir }}/data/wireguard/{{ inventory_hostname }}/{{ item.name }}.qrcode"
0 commit comments