Closed berndfinger closed 2 weeks ago
@berndfinger This looks like very strange issue with state data type.
Looks like there is a workaround
Ansible will always install the most recent version that meets the range identifiers you specify. You can use the following range identifiers:
*: The most recent version. This is the default.
Solution would be either use '*' or no version at all.
- name: community.general
version: '*'
type: galaxy
I think it's better to specify a minimum version.
I tested using
ansible-lint
versions24.9.0
and24.9.2
.The version of
requirements.yml
producing this error contains:The error message when running
ansible-lint
on the collection is:The version of
requirements.yml
not producing this error contains:Note: The collection
community.general
version9.5.0
is currently the latest one and has been published on Ansible Galaxy 23 days ago, see https://galaxy.ansible.com/ui/repo/published/community/general/.