This assumes the Ansible playbook pg14.yaml has already be run successfully. This means:
- The PostgreSQL 14 Client and Server are already installed from the official PostgreSQL repos
- The PostgreSQL 14 service in systemd is enabled
- The PostgreSQL 14 service in systemd is configured to only start after autofs has started
- A PostgreSQL 14 database cluster has been created at /var/lib/pgsql/14
- The PostgreSQL 14 service in systemd is running
Configuring PostgreSQL 14 to use a different path for the database cluster will require undoing some of these things.