The playbook can install and configure docker-postgres-backup-local for you.
The Ansible role for docker-postgres-backup-local is developed and maintained by the MASH (mother-of-all-self-hosting) project. For details about configuring docker-postgres-backup-local, you can check them via:
roles/galaxy/postgres_backup/docs/configuring-postgres-backup.md locally, if you have fetched the Ansible rolesNote: for a more complete backup solution (one that includes not only Postgres, but also other configuration/data files), you may wish to look into BorgBackup instead.