From 523c8c86bd9ed24705f99670dca1a83d7bbf79db Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 1 Jul 2025 11:27:04 -0700 Subject: [PATCH] postgresql: all the postgresql servers (except db-datanommer) are postgresql 16 now Signed-off-by: Kevin Fenzi --- roles/postgresql_server/tasks/main.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/roles/postgresql_server/tasks/main.yml b/roles/postgresql_server/tasks/main.yml index 2f941b9754..b181e42b27 100644 --- a/roles/postgresql_server/tasks/main.yml +++ b/roles/postgresql_server/tasks/main.yml @@ -2,18 +2,7 @@ # # Setup postgresql server. # -- name: On db-koji01 and db-riscv-koji01 and db01.stg and db-fas01 and db01 and db-openqa01 enable the postgresql 15 module. - ansible.builtin.copy: - dest: /etc/dnf/modules.d/postgresql.module - content: | - [postgresql] - name=postgresql - stream=15 - profiles= - state=enabled - when: inventory_hostname.startswith(('db-koji01','db-riscv-koji01','db01.stg','db-fas01','db01','db-openqa01')) - -- name: On stg db-koji01 and db-riscv-koji01 and db01.stg and db-fas01 and db01 and db-openqa01 enable the postgresql 16 module. +- name: On db-koji01 and db-riscv-koji01 and db01.stg and db-fas01 and db01 and db-openqa01 enable the postgresql 16 module. ansible.builtin.copy: dest: /etc/dnf/modules.d/postgresql.module content: | @@ -22,7 +11,7 @@ stream=16 profiles= state=enabled - when: inventory_hostname.startswith(('db-koji01.stg','db-riscv-koji01.stg','db01.stg','db-fas01.stg','db-openqa01.stg')) + when: inventory_hostname.startswith(('db-koji01','db-riscv-koji01','db01.stg','db-fas01','db01','db-openqa01')) - name: Install postgresql server packages (Fedora) ansible.builtin.package: