File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -155,11 +155,17 @@ netbox_database_user: netbox
155155#netbox_database_host: localhost
156156netbox_database_port: 5432
157157#netbox_database_socket: /var/run/postgresql
158+ #netbox_database_alt_socket: false
158159----
159160
160161It is *required* to configure either a socket directory (to communicate over UNIX sockets) or a host/password (to use TCP/IP).
161162See the _Example Playbook_ section for more information on configuring the database.
162163
164+ Setting `netbox_database_alt_socket` to `true` will skip the database connectivity check
165+ tasks and also set `netbox_database_port` alongside the socket connection for the
166+ database configuration. This will help with environments that may be running pgbouncer
167+ on the same server as NetBox.
168+
163169Note that these are used to configure `DATABASE` in `configuration.py`.
164170
165171[source,yaml]
You can’t perform that action at this time.
0 commit comments