2022-01-24 19:12:48 +01:00
|
|
|
---
|
|
|
|
|
2022-02-03 18:35:16 +01:00
|
|
|
- name: System compatibility checks
|
2022-01-24 19:12:48 +01:00
|
|
|
assert:
|
2022-02-03 18:35:16 +01:00
|
|
|
that: "ansible_distribution == 'Debian' or ansible_distribution == 'OpenBSD'"
|
|
|
|
msg: "Only compatible with Debian and OpenBSD"
|
2022-01-24 19:12:48 +01:00
|
|
|
|
2022-02-03 18:35:16 +01:00
|
|
|
- name: Include Debian version
|
|
|
|
include: debian.yml
|
|
|
|
when: ansible_distribution == "Debian"
|
2022-01-24 19:12:48 +01:00
|
|
|
|
2022-02-03 18:35:16 +01:00
|
|
|
- name: Include OpenBSD version
|
|
|
|
include: openbsd.yml
|
|
|
|
when: ansible_distribution == "OpenBSD"
|
2022-01-24 19:12:48 +01:00
|
|
|
|