2023-02-07 23:39:20 +00:00
|
|
|
patroni_postgresql_repo_package: "https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm"
|
|
|
|
patroni_postgresql_packages:
|
|
|
|
- "{{ patroni_postgresql_package_name }}{{ patroni_postgresql_major_version }}-server-{{ patroni_postgresql_version }}"
|
|
|
|
- "{{ patroni_postgresql_package_name }}{{ patroni_postgresql_major_version }}-contrib-{{ patroni_postgresql_version }}"
|
|
|
|
|
|
|
|
patroni_repo_package: "https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm"
|
|
|
|
patroni_default_packages:
|
|
|
|
- "{{ patroni_package_name }}-{{ patroni_version }}"
|
|
|
|
- "{{ patroni_package_name }}-consul-{{ patroni_version }}"
|
|
|
|
- "{{ patroni_package_name }}-etcd-{{ patroni_version }}"
|
|
|
|
- "{{ patroni_package_name }}-zookeeper-{{ patroni_version }}"
|
|
|
|
|
2023-05-12 22:19:23 +00:00
|
|
|
patroni_deps_packages: []
|
|
|
|
|
2023-03-29 20:49:37 +00:00
|
|
|
# Patroni variables
|
|
|
|
patroni_package_name: "patroni"
|
|
|
|
patroni_package: "{{ patroni_package_name }}-{{ patroni_version }}"
|
|
|
|
patroni_unit_name: "patroni"
|
|
|
|
patroni_config_name: "patroni.yml"
|
2023-02-07 23:39:20 +00:00
|
|
|
|
2023-03-29 20:49:37 +00:00
|
|
|
# PostgreSQL variables
|
|
|
|
patroni_postgresql_package_name: "postgresql"
|
|
|
|
patroni_postgresql_package: "{{ patroni_postgresql_package_name }}-{{ patroni_postgresql_version }}"
|
|
|
|
patroni_postgresql_data_dir: "{{ patroni_postgresql_home_dir }}/{{ patroni_postgresql_major_version }}/data"
|
|
|
|
patroni_postgresql_wal_dir: ""
|
2023-02-07 23:39:20 +00:00
|
|
|
patroni_postgresql_conf_dir: "{{ patroni_postgresql_data_dir }}"
|
|
|
|
patroni_postgresql_log_dir: "/var/log/postgresql"
|
|
|
|
patroni_postgresql_unix_socket_dir: "/var/run/postgresql"
|
|
|
|
patroni_postgresql_home_dir: "/var/lib/pgsql"
|
2023-03-29 20:49:37 +00:00
|
|
|
patroni_postgresql_bin_dir: "/usr/pgsql-{{ patroni_postgresql_major_version }}/bin"
|
|
|
|
patroni_postgresql_unit_name: "postgresql-{{ patroni_postgresql_major_version }}"
|
|
|
|
|
|
|
|
# SSL variables
|
|
|
|
patroni_ssl_update_ca_command: "update-ca-trust extract"
|
|
|
|
patroni_ssl_ca_trust_dir: "/etc/pki/ca-trust/source/anchors"
|