ansible-lockdown / AMAZON2023-CIS

Ansible role for Amazon2023 CIS Baseline
https://ansible-lockdown.readthedocs.io/en/latest/
MIT License
24 stars 18 forks source link

consistent tag for ansible-galaxy #72

Closed jouve closed 1 month ago

jouve commented 4 months ago

Describe the Issue

The last tag created is named differently than the previous ones (no v prefix) :

when I try to install the role, it creates the following error:

% ansible-galaxy role install MindPointGroup.amazon2023_cis
Starting galaxy role install process
- downloading role 'amazon2023_cis', owned by MindPointGroup
[WARNING]: - MindPointGroup.amazon2023_cis was NOT installed successfully: Unable to compare role versions (v0.9.0, v1.0.0, 1.1.0) to determine the most recent version due to incompatible
version formats. Please contact the role author to resolve versioning conflicts, or specify an explicit role version to install.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.

Expected Behavior

consistent naming :)

Actual Behavior

naming differs

Control(s) Affected

What controls are being affected by the issue

Environment (please complete the following information):

Additional Notes

workaround is to specify the version : ansible-galaxy role install MindPointGroup.amazon2023_cis,1.1.0

Possible Solution

recreate the release on the same commit, but with v1.1.0 tag

uk-bolly commented 3 months ago

hi @jouve Jouve

Apologies, the decision was made to move all tags without the v prefix for all the managed repos last year. So this will be the standard going forward.Thank you for highlighting this, we will be adding this as a comment on the community as this could have be better communicated.

Many thanks

uk-bolly