Skip to content

Commit 91f424c

Browse files
committed
Check pgdg repository package task for RHEL repos checks pgdg-redhat-repo package
As of 15 April 2019, there is only one repository RPM per distro, and it includes repository information for all available PostgreSQL releases.
1 parent 313e33c commit 91f424c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/redhat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# every time to check whether it's installed, so, don't do that.
55
- name: Check pgdg repository package (RedHat)
66
yum:
7-
name: "pgdg-{{ postgresql_pgdg_dists[ansible_distribution] }}{{ postgresql_version | replace('.', '') }}"
7+
name: "pgdg-redhat-repo"
88
register: __postgresql_repo_pkg_installed_result
99
ignore_errors: yes
1010

0 commit comments

Comments
 (0)