sap-linuxlab / community.sap_install

Automation for SAP - Collection of Ansible Roles for various SAP software installation
Apache License 2.0
53 stars 57 forks source link

collection: Add collection dependency for community.general #808

Closed berndfinger closed 4 months ago

berndfinger commented 4 months ago

for fixing the galaxy-importer error "syntax-check[unknown-module]: couldn'\''t resolve module/action '\''community.general.zypper'\''"

berndfinger commented 4 months ago

FYI: This modification caused error messages of type:

ERROR    [WARNING]: Collection at '(directory)' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version.

and:

ERROR! Unexpected Exception, this is probably a bug: Non integer values in LooseVersion ('latest')

as the last line, when running ansible-lint locally.

I could avoid this error by running:

ansible-lint --project-dir .

instead.

Wabri commented 4 months ago

Why didn't the ci/cd throw this error?

berndfinger commented 4 months ago

Why didn't the ci/cd throw this error?

Good question. Here's another one: Why, even after merging this PR, does the galaxy-importer still show the same syntax-check[unknown-module]: couldn'\''t resolve module/action '\''community.general.zypper'\'' error message? See here.