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
|
|
|
|
2019-10-18 11:18:43 +00:00
|
|
|
# @var postgres_base_dir: $ "_os-default_"
|
2019-06-20 13:55:07 +00:00
|
|
|
|
2018-10-16 18:53:36 +00:00
|
|
|
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
|
|
|
|
|
2018-10-26 19:56:47 +00:00
|
|
|
postgres_iptables_enabled: False
|
2018-10-16 18:53:36 +00:00
|
|
|
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_cert_source: mycert.pem
|
|
|
|
postgres_tls_key_source: mykey.pem
|
2018-10-17 20:19:04 +00:00
|
|
|
|
2018-10-18 20:59:39 +00:00
|
|
|
postgres_users: []
|
2019-10-18 11:18:43 +00:00
|
|
|
# @var postgres_users:example: >
|
|
|
|
# postgres_users:
|
|
|
|
# - name: jdoe #required; the rest are optional
|
|
|
|
# password: # defaults to not set
|
|
|
|
# encrypted: # defaults to 'yes'
|
|
|
|
# priv: # defaults to not set
|
|
|
|
# role_attr_flags: # defaults to not set
|
|
|
|
# db: # defaults to not set
|
|
|
|
# login_host: # defaults to 'localhost'
|
|
|
|
# login_password: # defaults to not set
|
|
|
|
# login_user: # defaults to '{{ postgres_user }}'
|
|
|
|
# login_unix_socket: # defaults to 1st of postgres_socket_directories
|
|
|
|
# port: # defaults to not set
|
|
|
|
# state: # defaults to 'present'
|
|
|
|
# pam_user: # defaults to not set
|
|
|
|
# @end
|
2018-10-18 20:59:39 +00:00
|
|
|
|
|
|
|
postgres_hba_entries:
|
2019-10-23 07:44:56 +00:00
|
|
|
- contype: local
|
|
|
|
databases:
|
|
|
|
- all
|
|
|
|
users:
|
|
|
|
- all
|
|
|
|
auth_method: peer
|
|
|
|
- contype: host
|
|
|
|
databases:
|
|
|
|
- all
|
|
|
|
users:
|
|
|
|
- all
|
|
|
|
address: "127.0.0.1/32"
|
|
|
|
auth_method: md5
|
|
|
|
- contype: host
|
|
|
|
databases:
|
|
|
|
- all
|
|
|
|
users:
|
|
|
|
- all
|
|
|
|
address: '::1/128'
|
|
|
|
auth_method: md5
|