postgresql/defaults/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 07 Oct 2024 15:25:37 -0500
changeset 238 bdbc88cb5078
parent 227 2e0366f2dcbe
permissions -rw-r--r--
Lots of updates and fixes for Ubuntu 24.04 Noble.

---

# migrate PG version with pg_upgradecluster (see manpage)
postgresql_version: "16"
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"