ansible/test/integration/targets/setup_postgresql_replication/defaults/main.yml
Andrey Klychkov 22fe622589 postgresql_subscription: new module (#63661)
* postgresql_subscription: setup master-standby cluster into one container

* postgresql_subscription: setup master-standby cluster into one container, fix

* postgresql_subscription: setup master-standby cluster into one container, set up publication

* postgresql_subscription: setup master-standby cluster into one container, add module template

* postgresql_subscription: setup master-standby cluster into one container, fix tests

* postgresql_subscription: setup master-standby cluster into one container, create subscr via shell

* postgresql_subscription: setup replication, state stat

* postgresql_subscription: add basic present mode

* postgresql_subscription: add assertions

* postgresql_subscription: add samples

* postgresql_subscription: state absent, cascade

* postgresql_subscription: add owner param

* postgresql_subscription: update

* postgresql_subscription: refresh

* postgresql_subscription: doc, warns

* postgresql_subscription: relinfo

* postgresql_subscription: fixes

* postgresql_subscription: fix CI tests
2019-11-06 14:19:30 +00:00

30 lines
763 B
YAML

# 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