[postgresql_server] Could do with some upgrade documentation
Open
Nobody has claimed this yet.
- Dominant language
- Jinja
- Stars
- 1.4k
- Forks
- 379
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 8
Description
The postgresql_server role could do with some information about how to do an upgrade...e.g. from bullseye (version 13) to bookworm (version 15).
In essence, the steps I had to were (writing this down so I don't forget it):
- Do a normal distro upgrade
- apt install postgresql-contrib
- pg_dropcluster 15 main --stop
- pg_upgradecluster 13 main
- apt purge postgresql-13 postgresql-client-13
- edit /etc/ansible/facts.d/postgres.fact and manually change the version (13 -> 15)
- re-run the role on the controller
I'll see if I get around to adding something like this to the docs...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the postgresql_server role documentation and the upgrade sequence described in the issue, including /etc/ansible/facts.d/postgres.fact and the controller rerun. Done means documenting the Bullseye-to-Bookworm PostgreSQL upgrade steps clearly enough for users to follow and verify.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, debian, postgresql
- Domain
- databases, devops, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100