Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mongodb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible
roles
mongodb
Commits
67b3ef17
Verified
Commit
67b3ef17
authored
1 month ago
by
Julian Rother
Committed by
Julian
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
Updates for v7.0
parent
d9762074
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
defaults/main.yml
+1
-3
1 addition, 3 deletions
defaults/main.yml
handlers/main.yml
+1
-1
1 addition, 1 deletion
handlers/main.yml
tasks/main.yml
+0
-5
0 additions, 5 deletions
tasks/main.yml
vars/main.yml
+1
-1
1 addition, 1 deletion
vars/main.yml
with
3 additions
and
10 deletions
defaults/main.yml
+
1
−
3
View file @
67b3ef17
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
...
...
This diff is collapsed.
Click to expand it.
handlers/main.yml
+
1
−
1
View file @
67b3ef17
...
...
@@ -4,4 +4,4 @@
name
:
mongod.service
-
name
:
start mongodb replication
shell
:
sleep 3; mongo --eval "printjson(rs.initiate())"
shell
:
sleep 3; mongo
sh
--eval "printjson(rs.initiate())"
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
0
−
5
View file @
67b3ef17
-
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
}}"
...
...
This diff is collapsed.
Click to expand it.
vars/main.yml
+
1
−
1
View file @
67b3ef17
packages
:
pkg
:
"
python3-p
ip
"
:
{}
"
python3-p
ymongo
"
:
{}
"
mongodb-org"
:
{}
repos
:
mongodb
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment