-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Support alternative database socket usage #185
Comments
I believe we can still use the same task, just use the |
In tinkering with this one more, I think this task is making too many assumptions about the environment that I've been running into problems with, particularly when using
I'm not entirely sure what the best path would be to address all of these, especially given they're quite specific to certain environments - I think ultimately having some way to maybe skip this task altogether (using tags?) would suffice and minimize the headache that the role needs to address. |
The role task currently assumes the database socket (if used) is auth-less and port-less. However in some circumstances (like when using
pgbouncer
locally, to access a remote db), passwords and ports are necessary to define for the socket.This behavior could be controlled with a simple variable flag, for example:
netbox_database_use_alt_socket: true
to ensure only one type of socket validation task is used.The text was updated successfully, but these errors were encountered: