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
5df8b594
Commit
5df8b594
authored
Jul 30, 2018
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换repo 地址
parent
8cc4411b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
playbooks/roles/common_vars/defaults/main.yml
+4
-3
playbooks/roles/mongo_2_6/defaults/main.yml
+4
-4
playbooks/roles/rabbitmq/defaults/main.yml
+5
-2
No files found.
playbooks/roles/common_vars/defaults/main.yml
View file @
5df8b594
...
...
@@ -49,8 +49,9 @@ common_directories:
COMMON_ENVIRONMENT
:
'
default_env'
COMMON_DEPLOYMENT
:
'
default_deployment'
COMMON_PIP_VERBOSITY
:
'
'
COMMON_PYPI_MIRROR_URL
:
'
https://pypi.python.org/simple'
COMMON_NPM_MIRROR_URL
:
'
https://registry.npmjs.org'
COMMON_PYPI_MIRROR_URL
:
'
https://pypi.tuna.tsinghua.edu.cn/simple'
COMMON_NPM_MIRROR_URL
:
'
https://registry.npm.taobao.org'
COMMON_UBUNTU_APT_KEYSERVER
:
"
http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
COMMON_EDX_PPA
:
"
deb
http://ppa.edx.org
{{
ansible_distribution_release
}}
main"
...
...
@@ -60,7 +61,7 @@ COMMON_EDX_PPA_KEY_ID: "69464050"
#The git checkout url in most roles is constructed from these values
#e.g. https://{{COMMON_GIT_MIRROR}}/{{COMMON_GIT_PATH}}/repo.git
COMMON_GIT_PROTOCOL
:
'
https'
# https|ssh
COMMON_GIT_MIRROR
:
'
git
hub
.com'
# git server hostname
COMMON_GIT_MIRROR
:
'
git
.orhontech
.com'
# git server hostname
COMMON_GIT_PATH
:
'
edx'
# git path prefix
# override this var to set a different hostname
...
...
playbooks/roles/mongo_2_6/defaults/main.yml
View file @
5df8b594
mongo_logappend
:
true
mongo_version
:
2.6.5
mongo_version
:
3.6.6
mongo_port
:
"
27017"
mongo_extra_conf
:
'
'
mongo_key_file
:
'
/etc/mongodb_key'
mongo_repl_set
:
rs0
mongo_cluster_members
:
[]
pymongo_version
:
2.7.2
pymongo_version
:
3.7.1
mongo_data_dir
:
"
{{
COMMON_DATA_DIR
}}/mongo"
mongo_log_dir
:
"
{{
COMMON_LOG_DIR
}}/mongo"
mongo_journal_dir
:
"
{{
COMMON_DATA_DIR
}}/mongo/mongodb/journal"
mongo_user
:
mongodb
MONGODB_APT_KEY
:
"
7F0CEB10
"
MONGODB_APT_KEY
:
"
2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
"
MONGODB_APT_KEYSERVER
:
"
keyserver.ubuntu.com"
MONGODB_REPO
:
"
deb
http://downloads-distro.mongodb.org/repo/ubuntu-upstart
dist
10gen
"
MONGODB_REPO
:
"
deb
[
arch=amd64,arm64
]
https://repo.mongodb.org/apt/ubuntu
xenial/mongodb-org/3.6
multiverse
"
# Vars Meant to be overridden
MONGO_ADMIN_USER
:
'
admin'
...
...
playbooks/roles/rabbitmq/defaults/main.yml
View file @
5df8b594
...
...
@@ -50,8 +50,11 @@ RABBITMQ_CLUSTER_NAME: "{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMENT }}-rabbit"
# option to force deletion of the mnesia dir
rabbitmq_refresh
:
false
rabbitmq_repo
:
"
deb
https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/
{{
ansible_distribution_release
}}
main"
rabbitmq_repo_key
:
"
https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey"
#rabbitmq_repo: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ {{ ansible_distribution_release }} main"
#rabbitmq_repo_key: "https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey"
rabbitmq_repo
:
"
deb
https://dl.bintray.com/rabbitmq/debian
xenial
main"
rabbitmq_repo_key
:
"
https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc"
rabbitmq_debian_pkgs
:
-
"
apt-transport-https"
...
...
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