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_group add rule description fix #48023
Conversation
ec2_group should not remove security group rules that have their rule descriptions updated. Update descriptions first, then do the comparison of whether or not groups should be removed.
This might not be the most elegant fix but it's the simplest fix I could think of to update the descriptions and then reset the group information to know what rules need adding or purging. |
Hi @willthames, thank you for submitting this pull-request! |
Have just applied the patch to our instance, we should know how it operates in the next few executions. Will follow up as we have more feedback. |
Have been running this in our environment for several days now, and it seems to be working ok. |
I moved to the other fix about a week and a half ago. |
Looks like #48443 is meant to fix this issue but with a smaller changeset. |
@willthames I believe this is no longer needed now that 48443 has been merged |
Closing as per above. |
SUMMARY
ec2_group should not remove security group rules that
have their rule descriptions updated.
Update descriptions first, then do the comparison of whether
or not groups should be removed.
Fixes #47904
ISSUE TYPE
COMPONENT NAME
ec2_group
ANSIBLE VERSION
ADDITIONAL INFORMATION
Should be backported to 2.6 and 2.7