xoxys.postgres/vars/main.yml

11 lines
490 B
YAML

---
__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"
__postgres_data_dir: "/var/lib/pgsql/{{ __postgres_version }}/test/data"
__postgres_config_path: "/var/lib/pgsql/data"