-
Notifications
You must be signed in to change notification settings - Fork 153
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
firewalld - announce breaking changes #249
base: main
Are you sure you want to change the base?
Conversation
* ``masquerade`` and ``icmp_block_inversion`` will be changed from ``str`` to ``bool`` Signed-off-by: Abhijeet Kasurde <[email protected]>
I think the sanity failures relate to ansible-collections/overview#45 (comment)
|
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.
Can we put a warning in the code when, say, the string doesn't look like a boolean, print the warning? The collection is supported and many users don't read changelogs.
OK. |
Sanity fixes via #250 |
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.
Can we put a warning in the code when, say, the string doesn't look like a boolean, print the warning? The collection is supported and many users don't read changelogs.
OK.
@Akasurde @Andersson007 May I try to fix this? if you guys are not working on it yet :)
@saito-hideki Yes sure. |
@Akasurde @saito-hideki I think we are going to be replacing the Ansible Posix Firewalld module with the current module in the Firewalld system role in the new release. This is because the system role already has |
I guess it depends on how many users are using the |
Yes this is accurate, however there isn't any way to gauge how many customers are using other values so maybe it might be a better idea to keep it as is. We could ask customers or check source code on github to double check if workflows don't break as a result of these changes. |
Hi @Akasurde @vrindle @richm At this time, what about keeping the "str" type and just showing a warning message that it will change to a Boolean value in a future release of firewalld module if |
@saito-hideki That would be a good idea. I am fine with that. |
Display warning message for masquerade and icmp-block-inversion SUMMARY Display warning message if the wrong parameter set to masquerade or icmp-block-inversion Fixes #249 It is a part of #249. Currently, the variable type of the above two parameters is str, but will be changed to bool in the future. As a starting point, this fix displays a warning message if a non-boolean value is specified. ISSUE TYPE Bugfix Pull Request COMPONENT NAME ansible.posix.firewalld ADDITIONAL INFORMATION None Reviewed-by: Andrew Klychkov <[email protected]> Reviewed-by: Hideki Saito <[email protected]> Reviewed-by: Abhijeet Kasurde <None> Reviewed-by: None <None>
The bot closed it (as there was "Fixes .." statement in the warning PR). Reopened. |
@Akasurde @saito-hideki as we discussed today in the Warning PR, we can merge this PR too |
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.
LGTM
@Andersson007 revisiting, does this still need to be merged? |
cc @Akasurde |
@maxamillion i don't know, I hasn't been a maintainer of this repo:) Thanks for bringing attention to this PR! |
Closing and reopening to kick CI. |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 48s |
SUMMARY
masquerade
andicmp_block_inversion
will be changed fromstr
tobool
Signed-off-by: Abhijeet Kasurde [email protected]
ISSUE TYPE
COMPONENT NAME
changelogs/fragments/firewalld_breaking_change.yml