mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
763 B
YAML
31 lines
763 B
YAML
5 years ago
|
# General:
|
||
|
pg_user: postgres
|
||
|
db_default: postgres
|
||
|
|
||
|
pg_package_list:
|
||
|
- apt-utils
|
||
|
- postgresql
|
||
|
- postgresql-contrib
|
||
|
- python3-psycopg2
|
||
|
|
||
|
packages_to_remove:
|
||
|
- postgresql
|
||
|
- postgresql-contrib
|
||
|
- postgresql-server
|
||
|
- postgresql-libs
|
||
|
- python3-psycopg2
|
||
|
|
||
|
# Master specific defaults:
|
||
|
master_root_dir: '/var/lib/pgsql/master'
|
||
|
master_data_dir: '{{ master_root_dir }}/data'
|
||
|
master_postgresql_conf: '{{ master_data_dir }}/postgresql.conf'
|
||
|
master_pg_hba_conf: '{{ master_data_dir }}/pg_hba.conf'
|
||
|
master_port: 5433
|
||
|
|
||
|
# Replica specific defaults:
|
||
|
replica_root_dir: '/var/lib/pgsql/replica'
|
||
|
replica_data_dir: '{{ replica_root_dir }}/data'
|
||
|
replica_postgresql_conf: '{{ replica_data_dir }}/postgresql.conf'
|
||
|
replica_pg_hba_conf: '{{ replica_data_dir }}/pg_hba.conf'
|
||
|
replica_port: 5434
|