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
edx
configuration
Commits
cf215cbd
Unverified
Commit
cf215cbd
authored
Jul 06, 2018
by
Ned Batchelder
Committed by
GitHub
Jul 06, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4669 from edx/nedbat/retry-mongo-signing-keys
Retry when getting mongo signing keys
parents
42a4e5e5
8330d3c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
playbooks/roles/ad_hoc_reporting/tasks/main.yml
+3
-2
playbooks/roles/mongo_2_6/tasks/main.yml
+5
-4
playbooks/roles/mongo_3_2/tasks/main.yml
+1
-0
No files found.
playbooks/roles/ad_hoc_reporting/tasks/main.yml
View file @
cf215cbd
...
...
@@ -33,6 +33,7 @@
id
:
"
{{
MONGODB_APT_KEY
}}"
keyserver
:
"
{{
MONGODB_APT_KEYSERVER
}}"
state
:
present
retries
:
3
tags
:
-
install:system-requirements
...
...
@@ -74,7 +75,7 @@
tags
:
-
scripts
-
install:base
#These templates rely on there being a global
# read_only mysql user, you must override the default
# in order for these templates to be written out.
...
...
@@ -93,7 +94,7 @@
-
scripts:mysql
-
install:code
with_items
:
"
{{
AD_HOC_REPORTING_REPLICA_DB_HOSTS
}}"
# These templates rely on there being a global
# read_only mongo user, you must override the default
# in order for these templates to be written out
...
...
playbooks/roles/mongo_2_6/tasks/main.yml
View file @
cf215cbd
...
...
@@ -14,7 +14,7 @@
tags
:
-
install
-
install:base
-
name
:
Remove mongo 2.4 if present
apt
:
pkg
:
mongodb-10gen
...
...
@@ -25,7 +25,7 @@
tags
:
-
install
-
install:base
-
name
:
Install python pymongo for mongo_user ansible module
pip
:
name
:
pymongo
...
...
@@ -41,6 +41,7 @@
id
:
"
{{
MONGODB_APT_KEY
}}"
keyserver
:
"
{{
MONGODB_APT_KEYSERVER
}}"
state
:
present
retries
:
3
tags
:
-
install
-
install:base
...
...
@@ -149,7 +150,7 @@
-
name
:
Wait for mongo server to start
wait_for
:
port
:
27017
port
:
27017
delay
:
2
tags
:
-
manage
...
...
@@ -257,7 +258,7 @@
-
install:configuration
-
name
:
Schedule backup-mongo-to-3s crontab
cron
:
cron
:
name
:
"
backup-mongo-to-s3"
job
:
"
/edx/bin/backup-mongo-to-s3.sh"
backup
:
yes
...
...
playbooks/roles/mongo_3_2/tasks/main.yml
View file @
cf215cbd
...
...
@@ -36,6 +36,7 @@
id
:
"
{{
MONGODB_APT_KEY
}}"
keyserver
:
"
{{
MONGODB_APT_KEYSERVER
}}"
state
:
present
retries
:
3
tags
:
-
"
install"
-
"
install:app-requirements"
...
...
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