zhmcclient / zhmc-ansible-modules

An Ansible collection for the IBM Z HMC
Apache License 2.0
12 stars 9 forks source link

Ansible Hub upload checking reports duplicate "description" property in yaml file #1097

Closed andy-maier closed 2 days ago

andy-maier commented 2 days ago

From the import log of 1.9.3:

ERROR: Found 2 yamllint issue(s) which need to be resolved: 
ERROR: tests.copy/end2end/mocked_hmc_z14.yaml:322:13: key-duplicates: duplication of key "description" in mapping 
ERROR: tests.copy/end2end/mocked_hmc_z16.yaml:322:13: key-duplicates: duplication of key "description" in mapping 
See documentation for help: https://docs.ansible.com/ansible-core/2.16/dev_guide/testing/sanity/yamllint.html 
ERROR: The 1 sanity test(s) listed below (out of 35) failed. See error output above for details. 
yamllint 
andy-maier commented 2 days ago

Turns out that the uploaded archive for 1.9.3 had a temporary "tests.copy" subtree included by mistake. That does not hurt the users, though.

The duplicate "description" property is also present in the "tests" subtree and needs to be removed there.