mongodb: Don't hardcode os release version
This commit is contained in:
parent
525565073b
commit
a3de09e2f2
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@
|
||||||
- name: Enable repository
|
- name: Enable repository
|
||||||
ansible.builtin.yum_repository:
|
ansible.builtin.yum_repository:
|
||||||
name: mongodb
|
name: mongodb
|
||||||
baseurl: https://repo.mongodb.org/yum/redhat/8/mongodb-org/6.0/x86_64
|
baseurl: >-
|
||||||
|
https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/6.0/x86_64
|
||||||
description: MongoDB
|
description: MongoDB
|
||||||
gpgcheck: true
|
gpgcheck: true
|
||||||
gpgkey: https://www.mongodb.org/static/pgp/server-6.0.asc
|
gpgkey: https://www.mongodb.org/static/pgp/server-6.0.asc
|
||||||
|
|
Loading…
Add table
Reference in a new issue