dotfiles/roles/system/wg-admin/tasks/install.yml

13 lines
308 B
YAML
Raw Normal View History

---
- 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"