Skip to content
Snippets Groups Projects
Verified Commit 67b3ef17 authored by Julian Rother's avatar Julian Rother Committed by Julian
Browse files

Updates for v7.0

parent d9762074
No related branches found
No related tags found
No related merge requests found
mongodb:
version: "5.0"
version: "7.0"
api_user: "{{ omit }}"
api_password: "{{ omit }}"
config:
storage:
dbPath: /var/lib/mongodb
journal:
enabled: true
systemLog:
destination: file
logAppend: true
......
......@@ -4,4 +4,4 @@
name: mongod.service
- name: start mongodb replication
shell: sleep 3; mongo --eval "printjson(rs.initiate())"
shell: sleep 3; mongosh --eval "printjson(rs.initiate())"
- name: install pymongo from pip because the debian version is too old
pip:
executable: pip3
name: pymongo
- name: template keyfile if necessary
copy:
dest: "{{ mongodb.config.security.keyFile }}"
......
packages:
pkg:
"python3-pip": {}
"python3-pymongo": {}
"mongodb-org": {}
repos:
mongodb:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment