12 lines
271 B
YAML
12 lines
271 B
YAML
- name: Ensure folder for wireguard
|
|
ansible.builtin.file:
|
|
path: /config/auth/wireguard
|
|
state: directory
|
|
mode: "0755"
|
|
|
|
- name: Place wg.key
|
|
ansible.builtin.copy:
|
|
content: "{{ unifi_wg_priv }}\n"
|
|
dest: /config/auth/wireguard/wg.key
|
|
mode: "0644"
|