diff --git a/roles/postgresql/defaults/main.yml b/roles/postgresql/defaults/main.yml index e9bb271a..7e3aa5b6 100644 --- a/roles/postgresql/defaults/main.yml +++ b/roles/postgresql/defaults/main.yml @@ -9,7 +9,7 @@ postgresql_data_directory: "/var/lib/pgsql/{{ postgresql_version }}/data" # mirsg.postgresql - download and install 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_package_name }}-server" yum_contrib_package: "{{ postgresql_package_name }}-contrib"