bevel icon indicating copy to clipboard operation
bevel copied to clipboard

Possible duplicate registry definitions in main.yaml at line 78

Open GiovanniCapizzi opened this issue 7 months ago • 1 comments

Hi, while reviewing the file main.yaml, I noticed that line 78 seems to define multiple register at the same parent level.

Image

Could this be a mistake or an unintended duplication? If so, would the correct approach be to use a single register key?

Without this change it gives:

fatal: [localhost]: FAILED! => {"msg": "The conditional check 'component_data.resources|length > 0' failed. The error was: error while evaluating conditional (component_data.resources|length > 0): 'component_data' is undefined. 'component_data' is undefined"}

Thanks in advance for the clarification!

GiovanniCapizzi avatar Jun 18 '25 13:06 GiovanniCapizzi

Indeed. I've confirmed this error is present in all files within the platforms/shared/configuration/roles/check/ directory.

  • platforms/shared/configuration/roles/check/k8_component/tasks/main.yaml
  • platforms/shared/configuration/roles/check/helm_component/tasks/main.yaml
  • platforms/shared/configuration/roles/check/setup/tasks/main.yaml

It appears to have been introduced in commit 33f7584

SainyGb avatar Nov 10 '25 02:11 SainyGb