Compare commits

...
Author SHA1 Message Date
d02726953f Update docker.io/library/postgres Docker tag to v14
All checks were successful
/ build (pull_request) Successful in 29s
/ Ansible Lint (push) Successful in 2m26s
/ Ansible Lint (pull_request) Successful in 2m34s
2026-11-01 02:17:48 +00:00
Max
c28d7706a3
autoremove apt packages after upgrades
All checks were successful
/ build (pull_request) Successful in 30s
/ Ansible Lint (pull_request) Successful in 2m37s
/ cleanup-staging (pull_request) Successful in 23s
/ build (push) Successful in 32s
/ Ansible Lint (push) Successful in 2m31s
2026-10-31 16:27:51 +01:00
3 changed files with 6 additions and 2 deletions

View file

@ -62,7 +62,7 @@ services:
- POSTGRES_DB=mailmandb
- POSTGRES_USER=mailman
- "POSTGRES_PASSWORD={{ secret__lists__postgres_password }}"
image: docker.io/library/postgres:12-alpine
image: docker.io/library/postgres:14-alpine
volumes:
- /opt/mailman/database:/var/lib/postgresql/data
networks:

View file

@ -1,6 +1,6 @@
# Role `apt_update_and_upgrade`
This role does an `apt-get update`, `apt-get dist-upgrade` and a potential reboot (if packages got upgraded) on the specified hosts.
This role does an `apt-get update`, `apt-get dist-upgrade`, `apt-get autoremove` and a potential reboot (if packages got upgraded) on the specified hosts.
## `hosts`

View file

@ -11,3 +11,7 @@
register: apt_update_and_upgrade__upgrade_result
notify:
- reboot the system
- name: Remove dependencies that are no longer required
ansible.builtin.apt:
autoremove: true