Unverified Commit cf215cbd by Ned Batchelder Committed by GitHub

Merge pull request #4669 from edx/nedbat/retry-mongo-signing-keys

Retry when getting mongo signing keys
parents 42a4e5e5 8330d3c3
......@@ -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
......
......@@ -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
......
......@@ -36,6 +36,7 @@
id: "{{ MONGODB_APT_KEY }}"
keyserver: "{{ MONGODB_APT_KEYSERVER }}"
state: present
retries: 3
tags:
- "install"
- "install:app-requirements"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment