[mod] role:postgresql:Integer-Wert für Port verwenden
This commit is contained in:
parent
c2879c7bf2
commit
cb09bca26e
3 changed files with 17 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"var_postgresql_listen_address": "localhost",
|
"var_postgresql_listen_address": "localhost",
|
||||||
"var_postgresql_port": "5432"
|
"var_postgresql_port": 5432
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ listen_addresses = '{{var_postgresql_listen_address}}' # what IP address(es) to
|
||||||
# comma-separated list of addresses;
|
# comma-separated list of addresses;
|
||||||
# defaults to 'localhost'; use '*' for all
|
# defaults to 'localhost'; use '*' for all
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
port = {{var_postgresql_port}} # (change requires restart)
|
port = {{var_postgresql_port | string}} # (change requires restart)
|
||||||
max_connections = 100 # (change requires restart)
|
max_connections = 100 # (change requires restart)
|
||||||
#superuser_reserved_connections = 3 # (change requires restart)
|
#superuser_reserved_connections = 3 # (change requires restart)
|
||||||
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
|
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
|
||||||
|
|
15
ansible/roles/postgresql/vardef.json
Normal file
15
ansible/roles/postgresql/vardef.json
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"listen_address": {
|
||||||
|
"mandatory": false,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"port": {
|
||||||
|
"mandatory": false,
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"allow_md5_auth": {
|
||||||
|
"mandatory": false,
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue