feat(global_defaults): add os_family_map and os_family fact for platform config lookups

This commit is contained in:
sandwich committed 2026-02-22 02:23:05 +01:00
1 parent 6ebceb8ee2
commit 9c0f00f1ec
2 files changed
+17

No files matched your search

+1
View File
@@ -20,6 +20,7 @@
ansible.builtin.set_fact:
is_rhel: "{{ os in os_family_rhel }}"
is_debian: "{{ os in os_family_debian }}"
os_family: "{{ os_family_map[os] | default('Unknown') }}"
- name: Normalize OS version for keying
when: