mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-14 00:41:06 +01:00
7 lines
218 B
YAML
7 lines
218 B
YAML
|
- name: install wireguard
|
||
|
pacman: name=wireguard-tools state=present
|
||
|
|
||
|
- name: create /etc/wireguard/wg0.conf
|
||
|
template: src={{ inventory_hostname }}.wg0.conf dest=/etc/wireguard/wg0.conf
|
||
|
notify: restart wireguard
|