You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Problem
Kconfig supports the
output yamldirective, which provides a clean and consistent mechanism for exporting configuration variables into theextra_vars.yamlfile 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 yamlexport 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>.ymlor 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_cfgmodule is formed by:./playbooks/roles/ansible_cfg/*./playbooks/ansible_cfg.yml./kconfigs/Kconfig.ansible_cfg./Makefile