-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Problem
Kconfig supports the output yaml directive, which provides a clean and consistent mechanism for exporting configuration variables into the extra_vars.yaml file used during playbook execution via the Makefile-Ansible wrappers.
However, many kdevops modules still use the older variable export mechanism, leading to inconsistent patterns that are harder for both developers and automated tooling to follow.
Task
Update every kdevops module to use the output yaml export mechanism for Kconfig variables and remove reliance on the older export path mechanism. Ensure Makefile variables are ported to Kconfig. Ensure playbooks have the same consistent default and declared variables in kconfig files.
Note
A kdevops module consists of:
A role (playbooks/roles/<module>/*)
A playbook (playbooks/<module>.yml or similar)
A Kconfig file (Kconfig, kconfigs/Kconfig.<module>, workflows/<module>/Kconfig)
A Makefile (e.g. Makefile, Makefile.<module>, scripts/<module>.Makefile...)
For example, the ansible_cfg module is formed by:
./playbooks/roles/ansible_cfg/*
./playbooks/ansible_cfg.yml
./kconfigs/Kconfig.ansible_cfg
./Makefile