-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ec2_asg: Change purge_tags default value to False #1064
ec2_asg: Change purge_tags default value to False #1064
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
recheck |
This comment was marked as outdated.
This comment was marked as outdated.
recheck |
@mandar242 @alinabuzachis @jillr once this is merged, do we ship it with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's undo this breaking change, but also look at how we want to do this. About 3 quarters of our modules that support managing tags default to purge_tags=True behaviour today (some even nuke tags if you don't set the tags parameter)
I put this to the agenda for the next meeting. |
regate |
Shouldn't this have a changelog fragment so that users know what happens? |
yeah. good point. It can be added in the release PR, which also needs to be approved and where some extra notes should be left in the |
I've pushed a changelog fragment. It needs some reviews again @tremble @marknet15 @felixfontein |
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #1069 🤖 @patchback |
ec2_asg: Change purge_tags default value to False SUMMARY Changed default value of purge_tags to False. With the addition of purge_tags to ec2_asg module #960, the default value was kept to True similar to many other modules in this collection and also as specified in ansible dev guide. With this addition, the issue was discovered that there is a possibility of this change breaking existing playbooks for users if they don't update their playbooks and specify purge_tags: false where required. This PR's change will prevent accidental breakage. ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_asg Reviewed-by: Mark Chappell <None> Reviewed-by: Markus Bergholz <git@osuv.de> Reviewed-by: Mark Woolley <mw@marknet15.com> Reviewed-by: Alina Buzachis <None> (cherry picked from commit d0c9f1a)
[PR #1064/d0c9f1a6 backport][stable-3] ec2_asg: Change purge_tags default value to False This is a backport of PR #1064 as merged into main (d0c9f1a). SUMMARY Changed default value of purge_tags to False. With the addition of purge_tags to ec2_asg module #960, the default value was kept to True similar to many other modules in this collection and also as specified in ansible dev guide. With this addition, the issue was discovered that there is a possibility of this change breaking existing playbooks for users if they don't update their playbooks and specify purge_tags: false where required. This PR's change will prevent accidental breakage. ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_asg Reviewed-by: Mark Chappell <None>
SUMMARY
Changed default value of
purge_tags
toFalse
.With the addition of
purge_tags
toec2_asg
module #960, the default value was kept toTrue
similar to many other modules in this collection and also as specified in ansible dev guide.With this addition, the issue was discovered that there is a possibility of this change breaking existing playbooks for users if they don't update their playbooks and specify
purge_tags: false
where required.This PR's change will prevent accidental breakage.
ISSUE TYPE
COMPONENT NAME
ec2_asg