Read defaults from meta/argument_specs.yml
#77664
Labels
affects_2.14
feature
This issue/PR relates to a feature request.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
waiting_on_contributor
This would be accepted but there are no plans to actively work on it.
Summary
Defaults are defined in
defaults/main.yml
. But, themeta/argument_specs.yml
file also supports defining the default value of variables. Maintaining both is just duplicating code. A role author could keep defaults only indefaults/main.yml
but that would require the users to look at two files to find out about variable documentation.It would be great if
meta/argument_specs.yml
was also consulted for default values of variables. To avoid conflicts withdefaults/main.yml
, the latter could take precedence.Issue Type
Feature Idea
Component Name
argument_specs
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: