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 }}" patroni_deps_packages: [] # Patroni variables patroni_package_name: "patroni" patroni_package: "{{ patroni_package_name }}-{{ patroni_version }}" patroni_unit_name: "patroni" patroni_config_name: "patroni.yml" # 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 }}/{{ patroni_postgresql_cluster_name }}" patroni_postgresql_wal_dir: "" patroni_postgresql_cluster_name: "data" 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" patroni_postgresql_bin_dir: "/usr/pgsql-{{ patroni_postgresql_major_version }}/bin" patroni_postgresql_unit_name: "postgresql-{{ patroni_postgresql_major_version }}" # SSL variables patroni_cacert_update_ca_trust_command: "update-ca-trust extract" patroni_cacert_ca_trust_dir: "/etc/pki/ca-trust/source/anchors"