mongodb: Update to version 6.0
This commit is contained in:
parent
7928d5fdb3
commit
84e42378b5
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue