mongodb: Update to version 6.0

This commit is contained in:
Timo Makinen 2023-11-19 15:17:09 +00:00
parent 7928d5fdb3
commit 84e42378b5

View file

@ -17,10 +17,10 @@
- name: Enable repository
ansible.builtin.yum_repository:
name: mongodb
baseurl: https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64
baseurl: https://repo.mongodb.org/yum/redhat/8/mongodb-org/6.0/x86_64
description: MongoDB
gpgcheck: true
gpgkey: https://www.mongodb.org/static/pgp/server-5.0.asc
gpgkey: https://www.mongodb.org/static/pgp/server-6.0.asc
enabled: true
- name: Install packages
@ -28,8 +28,8 @@
name: "{{ item }}"
state: installed
with_items:
- mongodb-mongosh
- mongodb-org-server
- mongodb-org-shell
- name: Set SELinux file contexts on data directory
community.general.sefcontext: