postgresql: Install mbuffer package

mbuffer is required on db-koji for staging-sync playbook, but
installing it on all DB servers doesn't hurt.
This commit is contained in:
Mikolaj Izdebski 2025-07-04 19:42:50 +02:00
parent 8d86dbc5e2
commit 8da3e395b2
2 changed files with 2 additions and 1 deletions

View file

@ -68,7 +68,6 @@
- postgresql_user: name=backup
- postgresql_db: name=koji state=absent
# buildroot_listing is excluded from the sync to save some time
# TODO: install mbuffer on db-koji.stg
- name: Import the prod db. This will take quite a while. Go get a snack!
ansible.builtin.shell: >
curl -s -S https://infrastructure.fedoraproject.org/infra/db-dumps/koji.dump.xz |

View file

@ -22,6 +22,7 @@
- postgresql-plpython3
- python3-psycopg2
- pxz
- mbuffer
when: ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora' and ansible_cmdline.ostree is not defined
tags:
- packages
@ -36,6 +37,7 @@
- postgresql-plpython3
- python3-psycopg2
- pxz
- mbuffer
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat' and ansible_cmdline.ostree is not defined
tags:
- packages