xoxys.postgres/defaults/main.yml

36 lines
1.0 KiB
YAML
Raw Normal View History

2018-10-14 21:17:40 +00:00
---
postgres_repository_enabled: False
postgres_version: 10
2018-10-14 21:42:13 +00:00
postgres_repository_filename: "Postgresql-{{ postgres_version | regex_replace('\\.') }}"
2018-10-15 22:07:17 +00:00
postgres_user: postgres
postgres_group: postgres
2018-10-16 18:53:36 +00:00
# available postgresql.conf options
postgres_log_destination:
- stderr
2018-10-16 18:59:31 +00:00
postgres_log_directory: log
2018-10-16 18:53:36 +00:00
postgres_log_filename: postgresql.log
postgres_log_rotation_age: 1d
postgres_log_rotation_size: 0
postgres_connection_port: 5432
postgres_connection_addresses:
- localhost
postgres_socket_directories:
- /var/run/postgresql
postgres_password_encryption: md5
2018-10-16 21:05:15 +00:00
postgres_tls_enabled: False
postgres_tls_cert_filename: "mycert.pem"
postgres_tls_key_filename: "mykey.pem"
postgres_tls_source_use_content: False
postgres_tls_source_use_files: True
postgres_tls_cert_source: mycert.pem
postgres_tls_key_source: mykey.pem
postgresql_hba_entries:
- {type: local, database: all, user: all, auth_method: md5}
- {type: host, database: all, user: all, address: '127.0.0.1/32', auth_method: md5}
- {type: host, database: all, user: all, address: '::1/128', auth_method: md5}