postgresql/defaults/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sun, 04 Feb 2024 20:27:19 -0600
changeset 227 2e0366f2dcbe
parent 182 b4ce6f1f15b7
child 238 bdbc88cb5078
permissions -rw-r--r--
Tons of updates to fix migration to new server.

---

# migrate PG version with pg_upgradecluster (see manpage)
postgresql_version: "14"
postgresql_initidb_path: "/usr/lib/postgresql/{{postgresql_version}}/bin/initdb"
postgresql_config_path: "/etc/postgresql/{{postgresql_version}}/main/postgresql.conf"
postgresql_data_dir: "/var/lib/postgresql/{{postgresql_version}}/main"
postgresql_apt_packages:
  - "postgresql-{{postgresql_version}}"
  - "pgcli"
  - "postgresql-client"
  - "postgresql-common"