-
Notifications
You must be signed in to change notification settings - Fork 12
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
Introducing module firewall_alias #137
Conversation
While testing your changes against a live opnsense 24.1 installation I found a couple of things. I'm going to report them individually so that you can comment/ close them each on their own. |
I was able to set a host alias with spaces in the name.
|
running ansible against an opnsense instance with a manually added BGP ASN alias errors out like this:
EDIT: fixed by updates to the module ✔️ |
We should definitely explain the "refreshfrequency" a bit more. This input is considered fractions of a day. So a value of "0.5" leads to 12 hours, "1.1" to 1d 2.4h. Also this value only shows up in the UI if you configure type "urltable" but the module accepts it for other types. Not sure if that could lead to problems down the line? |
the BGP ASN type alias offers a selection for IPv4 and/or IPv6 when done through the UI. We do not have that option in our module yet. We should either add that functionality or mention that restriction in the docs to prevent any surprises for users. |
63b14ae
to
f139dc0
Compare
fixed in 64ba9b0. |
fixed in 64ba9b0. |
fixed in 944146b. |
aaf0433
to
e5a9bba
Compare
e5a9bba
to
0e67877
Compare
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.
I have some minor change requests and proposals, but overall it looks good
Co-authored-by: Fabio Bertagna <33524186+DonGiovanni83@users.noreply.github.com>
Co-authored-by: Fabio Bertagna <33524186+DonGiovanni83@users.noreply.github.com>
Co-authored-by: Fabio Bertagna <33524186+DonGiovanni83@users.noreply.github.com>
Co-authored-by: Fabio Bertagna <33524186+DonGiovanni83@users.noreply.github.com>
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.
Looks good 👍🏼
This pull requests introduces the module firewall_alias to the puzzle.opnsense collection.
With this new module, user will be able to:
Disclaimer: We are aware that this module is also offered by Ansibleguy. However, we have decided to develop it independently due to compatibility issues with the different versions we support.