13 lines
308 B
YAML
13 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"
|