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 - 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/5.0/x86_64 baseurl: https://repo.mongodb.org/yum/redhat/8/mongodb-org/6.0/x86_64
description: MongoDB description: MongoDB
gpgcheck: true 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 enabled: true
- name: Install packages - name: Install packages
@ -28,8 +28,8 @@
name: "{{ item }}" name: "{{ item }}"
state: installed state: installed
with_items: with_items:
- mongodb-mongosh
- mongodb-org-server - mongodb-org-server
- mongodb-org-shell
- name: Set SELinux file contexts on data directory - name: Set SELinux file contexts on data directory
community.general.sefcontext: community.general.sefcontext: