mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-29 16:01:04 +01:00
11 lines
298 B
YAML
11 lines
298 B
YAML
- name: install wireguard
|
|
pacman: name=wireguard-tools state=present
|
|
|
|
- name: create /etc/wireguard/wg0.conf
|
|
copy:
|
|
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/etc/wireguard/wg0.conf"
|
|
dest: /etc/wireguard/wg0.conf
|
|
owner: root
|
|
group: root
|
|
notify: restart wireguard
|