add repository name option
This commit is contained in:
parent
93056db9e1
commit
aa87e9d842
@ -1,3 +1,4 @@
|
||||
---
|
||||
postgres_repository_enabled: False
|
||||
postgres_version: 10
|
||||
postgres_repository_filename: Postgresql-{{ postgres_version }}
|
||||
|
@ -3,6 +3,7 @@
|
||||
- name: Add PostgreSQL repository
|
||||
yum_repository:
|
||||
name: postgresql
|
||||
file: {{ postgres_repository_filename }}
|
||||
description: PostgreSQL yum repository
|
||||
baseurl: "https://download.postgresql.org/pub/repos/yum/{{ postgres_version }}/redhat/rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}"
|
||||
gpgcheck: yes
|
||||
|
Loading…
Reference in New Issue
Block a user