From 829250e6f100379300aa01a310d55e024d283154 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Fri, 15 Dec 2023 12:26:59 +0000 Subject: [PATCH] Fix bug introduced in #7 (#8) Oops --- playbooks/group_vars/all.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playbooks/group_vars/all.yml b/playbooks/group_vars/all.yml index dd5ed13..2801b12 100644 --- a/playbooks/group_vars/all.yml +++ b/playbooks/group_vars/all.yml @@ -11,6 +11,9 @@ postgresql_rpm_gpg_key_pgdg: "https://www.postgresql.org/download/keys/RPM-GPG-K # mirsg.infrastructure.postgresql - download and install - we need to do this on both the web server and the db postgresql_install: disable_gpg_check: false - rpm: "https://download.postgresql.org/pub/repos/yum/reporpms/EL-{{ ansible_facts['distribution_major_version'] }}-{{ ansible_facts['ansible_architecture'] }}/pgdg-redhat-repo-latest.noarch.rpm" + rpm: >- + https://download.postgresql.org/pub/repos/yum/reporpms/EL-{{ + ansible_facts['distribution_major_version'] }}-{{ + ansible_facts['architecture'] }}/pgdg-redhat-repo-latest.noarch.rpm yum_package: "postgresql{{ postgresql_version }}-server" yum_contrib_package: "postgresql{{ postgresql_version }}-contrib" # required only on CentOS 7