Infra/ansible/roles/usg/tasks/main.yml

12 lines
271 B
YAML
Raw Normal View History

2022-10-18 22:04:13 +02:00
- 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"