mongodb: Don't hardcode os release version

This commit is contained in:
Timo Makinen 2024-03-13 21:10:36 +00:00
parent 525565073b
commit a3de09e2f2

View file

@ -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