2018-10-15 22:07:17 +00:00
|
|
|
---
|
|
|
|
__postgres_version: "{{ postgres_version | regex_replace('\\.') }}"
|
|
|
|
__postgres_packagename: "postgresql{{ __postgres_version }}"
|
|
|
|
__postgres_daemon: "postgresql-{{ __postgres_version }}"
|
|
|
|
__postgres_service_file: "/usr/lib/systemd/system/{{ __postgres_daemon }}.service"
|
|
|
|
__postgres_packages:
|
|
|
|
- "{{ __postgres_packagename }}"
|
|
|
|
- "{{ __postgres_packagename }}-server"
|
2018-10-15 22:44:56 +00:00
|
|
|
__postgres_data_dir: "/var/lib/pgsql/{{ __postgres_version }}/data"
|
2018-10-16 18:53:36 +00:00
|
|
|
__postgres_config_path: "{{ __postgres_data_dir }}"
|
2018-10-16 21:11:31 +00:00
|
|
|
__postgres_tls_key_path: "{{ __postgres_data_dir }}/tls/key/{{ postgres_tls_key_filename }}"
|
|
|
|
__postgres_tls_cert_path: "{{ __postgres_data_dir }}/tls/certs/{{ postgres_tls_cert_filename }}"
|