add variable postgres_base_dir
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-03-20 09:26:18 +01:00
parent c39ec2be43
commit afc1629696
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ __postgres_service_file: "/usr/lib/systemd/system/{{ __postgres_daemon }}.servic
__postgres_packages:
- "{{ __postgres_packagename }}"
- "{{ __postgres_packagename }}-server"
__postgres_data_dir: "/var/lib/pgsql/{{ __postgres_version }}/data"
__postgres_data_dir: "{{ postgres_base_dir | default('/var/lib/pgsql/' + __postgres_version) }}/data"
__postgres_config_path: "{{ __postgres_data_dir }}"
__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 }}"