Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
c8b48b63
Commit
c8b48b63
authored
Oct 02, 2017
by
Joseph Mulloy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tags to add replica set config tag OPS-2117
parent
c66d2c11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
playbooks/roles/mongo_3_2/tasks/main.yml
+9
-2
No files found.
playbooks/roles/mongo_3_2/tasks/main.yml
View file @
c8b48b63
...
...
@@ -134,6 +134,8 @@
-
"
install"
-
"
install:app-configuration"
-
"
update_mongod_conf"
-
"
manage"
-
"
manage:db-replication"
# If either auth or unauthed access comes back with a replica set, we
# do not want to initialize one. Since initialization requires a bunch
...
...
@@ -178,6 +180,8 @@
backup
:
yes
register
:
update_mongod_conf
tags
:
-
"
install"
-
"
install:app-configuration"
-
"
manage"
-
"
manage:db-replication"
-
"
update_mongod_conf"
...
...
@@ -199,6 +203,7 @@
tags
:
-
"
manage"
-
"
manage:start"
-
"
manage:db-replication"
-
name
:
wait for mongo server to start
wait_for
:
...
...
@@ -207,6 +212,7 @@
tags
:
-
"
manage"
-
"
manage:start"
-
"
manage:db-replication"
# We only try passwordless superuser creation when
# we're initializing the replica set and need to use
...
...
@@ -226,7 +232,7 @@
run_once
:
true
tags
:
-
"
manage"
-
"
manage:db"
-
"
manage:db
-replication
"
# Now that the localhost exemption has been used to create the superuser, we need
# to add replica set to our configuration. This will never happen if we detected
...
...
@@ -282,6 +288,7 @@
-
"
manage"
-
"
manage:db"
-
"
manage:db-replication"
-
"
manage:db-replication-configuration"
# During initial replica set configuration, it can take a few seconds to vote
# a primary and for all members to reflect that status. During that window,
...
...
@@ -318,6 +325,7 @@
tags
:
-
"
manage"
-
"
manage:db"
-
"
manage:db-users"
-
"
manage:db-replication"
-
name
:
ensure mongo starts at boot time
...
...
@@ -327,4 +335,3 @@
tags
:
-
"
manage"
-
"
manage:start"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment