postgresql/defaults/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 28 Mar 2026 20:09:33 -0500
changeset 256 f7af0562f84c
parent 238 bdbc88cb5078
permissions -rw-r--r--
Removed sojuctl ansible commands. configure via client.

---

# 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"