ansible-roles/patroni/defaults/main.yml
Jérémy Lecour d83ae339d8
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2805|20|2785|13|:-1: Output truncated.
gitea/ansible-roles/pipeline/head This commit looks good
patroni: disable full configuration
2023-06-06 10:30:08 +02:00

52 lines
1.9 KiB
YAML

---
# Install Patroni from backport Evolix
patroni_backport: false
etcd_install_dependencies_for_patroni: True
#########################################################################
# Disabled for now
# It's too much work to completely manage a Patroni cluster from Ansible
##########
# # Define variable for Patroni
# patroni_scope: "13-main"
# patroni_name: "{{ ansible_hostname }}"
# # Binding host:port for the cluster (must not be localhost)
# patroni_restapi_connect_address_host: "0.0.0.0"
# patroni_restapi_connect_address_port: "8008"
# patroni_restapi_connect_address: "{{ patroni_restapi_connect_address_host }}:{{ patroni_restapi_connect_address_port }}"
# # Additional binding for health-checks…
# patroni_restapi_listen_host: "127.0.0.1"
# patroni_restapi_listen_port: "8008"
# patroni_restapi_listen: "{{ patroni_restapi_listen_host }}:{{ patroni_restapi_listen_port }}"
# patroni_postgresql_connect_address_host: "0.0.0.0"
# patroni_postgresql_connect_address_port: "5432"
# patroni_postgresql_connect_address: "{{ patroni_postgresql_connect_address_host }}:{{ patroni_postgresql_connect_address_port }}"
# patroni_postgresql_listen_hosts:
# - "127.0.0.1"
# patroni_postgresql_listen_port: "5432"
# patroni_postgresql_listen: "{{ patroni_postgresql_listen_hosts | join(',') }}:{{ patroni_postgresql_listen_port }}"
# patroni_postgresql_datadir: "/home/{{ patroni_scope }}"
# patroni_postgresql_pgpass: "/tmp/{{ patroni_scope }}-pgpass"
# patroni_postgresql_listen_ips: 127.0.0.1
# patroni_postgresql_connect_ip: 127.0.0.1
# patroni_postgresql_version: ''
# patroni_postgresql_replication_user: 'repl'
# patroni_postgresql_superuser: 'admin'
# # Each entry must look like this :
# # { name: replication, user: foo, host: "1.2.3.4/32", hash_type: md5/scram-sha-256 }
# patroni_postgresql_hba_roles: []
# # Define variable for etcd
# etcd_hosts: []
# etcd_port: "2379"
#########################################################################