dotfiles/roles/wg/tasks/install.yml
Matej Focko bc2d4a291e
chore(wg): factor out the wireguard role
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 19:53:09 +02:00

12 lines
308 B
YAML

---
- name: Install the wireguard on Ubuntu
ansible.builtin.package:
name: wireguard
state: present
when: ansible_distribution == "Ubuntu"
- name: Install the wireguard on co-Ubuntu
ansible.builtin.package:
name: wireguard-tools
state: present
when: ansible_distribution != "Ubuntu"