collection of ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
298 B

---
- name: OpenBSD wireguard setup
include_tasks: openbsd.yml
when: ansible_distribution|lower == 'openbsd'
vars:
ansible_become: yes
- name: systemd based wireguard setup
include_tasks: systemd_linux.yml
when: ansible_service_mgr|lower == 'systemd'
vars:
ansible_become: yes