feat: initial commit

This commit is contained in:
Simon Cornet 2025-03-31 17:44:41 +02:00
commit 3f0a878c3a
18 changed files with 321 additions and 0 deletions

16
tasks/ossupport.yaml Normal file
View file

@ -0,0 +1,16 @@
---
# support debian 12
- name: "check for os support"
ansible.builtin.set_fact:
os_support: true
when:
- 'ansible_distribution == "Debian"'
- 'ansible_distribution_major_version == "12"'
# fail role when not supported
- name: "unsupported role"
ansible.builtin.fail:
msg: "This role not supported on this Operating System."
when:
- "os_support is not defined"