feat(global_defaults): validate user input against one argument spec on both paths

This commit is contained in:
2026-10-05 18:05:05 +02:00
parent f0b580cd3d
commit 2d1a875577
7 changed files with 259 additions and 172 deletions
@@ -1,7 +1,7 @@
---
- name: Build normalized system configuration
vars:
system_raw: "{{ system_defaults | combine(system, recursive=True) }}"
system_raw: "{{ system_defaults | combine(system | default({}), recursive=True) }}"
system_type: "{{ 'virtual' if (system_raw.type | string | lower) in ['vm', 'virtual'] else (system_raw.type | string | lower) }}"
system_os_input: "{{ system_raw.os | default('') | string | lower }}"
system_name: >-