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
e81a8204
Commit
e81a8204
authored
Jan 16, 2014
by
Ubuntu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
installation changes 2014-01-17
parent
497caeac
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
58 additions
and
29 deletions
+58
-29
playbooks/edx-west/carnegie-prod-app.yml
+7
-5
playbooks/edx-west/carnegie-prod-worker.yml
+26
-5
playbooks/edx-west/cme-prod-app.yml
+5
-3
playbooks/edx-west/cme-prod-worker.yml
+2
-0
playbooks/edx-west/prod-app.yml
+2
-0
playbooks/edx-west/prod-worker.yml
+16
-16
No files found.
playbooks/edx-west/carnegie-prod-app.yml
View file @
e81a8204
#- hosts: ~tag_Name_app(1
0|20
)_carn
#- hosts: ~tag_Name_app1
0
_carn
#- hosts: ~tag_Name_app20
_carn
-
hosts
:
~tag_Name_app1_carn_test
#- hosts: ~tag_Name_app(1
|2
)_carn
#- hosts: ~tag_Name_app1_carn
-
hosts
:
~tag_Name_app2
_carn
#
- hosts: ~tag_Name_app1_carn_test
sudo
:
True
vars_prompt
:
-
name
:
"
migrate_db"
...
...
@@ -27,6 +27,8 @@
-
sefk
-
jbau
-
jrbl
-
caesar2164
-
nparlante
tags
:
users
-
common
-
supervisor
...
...
@@ -36,7 +38,7 @@
-
lms
-
cms
-
lms-preview
-
phpmyadmin
c
-
phpmyadmin
nginx_template_directory
:
"
{{local_dir}}/nginx/templates/carnegie/"
nginx_conf
:
true
-
{
'
role'
:
'
edxapp'
,
'
openid_workaround'
:
true
,
'
template_subdir'
:
'
carnegie'
}
...
...
playbooks/edx-west/carnegie-prod-worker.yml
View file @
e81a8204
...
...
@@ -22,6 +22,10 @@
-
sefk
-
jbau
-
jrbl
-
jinpa
-
gbruhns
-
nparlante
-
caesar2164
tags
:
users
-
role
:
'
common'
tags
:
common
...
...
@@ -33,15 +37,32 @@
tags
:
celery
-
role
:
nginx
nginx_sites
:
-
xqueue
#
- xqueue
-
basic-auth
tags
:
nginx
-
role
:
xqueue
xqueue_create_db
:
"
no"
xqueue_create_users
:
false
tags
:
xqueue
#
- role: xqueue
#
xqueue_create_db: "no"
#
xqueue_create_users: false
#
tags: xqueue
-
datadog
#- name: Deploy certs only to first util machine
# hosts: ~tag_Name_util(1)_carn
# sudo: True
# gather_facts: True
# vars:
# secure_dir: '../../../configuration-secure/ansible'
# local_dir: "{{secure_dir}}/local"
# migrate_db: "no"
# vars_files:
# - "roles/common/defaults/main.yml"
# - "roles/supervisor/defaults/main.yml"
# - "{{ secure_dir }}/vars/edxapp_carnegie_vars.yml"
# - "{{ secure_dir }}/vars/certs_carn_vars.yml"
# roles:
# - role: certs
# tags: certs
## run the certificate agent on the first util machine only
#- hosts: ~tag_Name_util10_carn
# sudo: True
...
...
playbooks/edx-west/cme-prod-app.yml
View file @
e81a8204
...
...
@@ -13,9 +13,9 @@
# this gets all running prod webservers
#- hosts: tag_environment_prod:&tag_function_webserver
# or we can get subsets of them by name
#- hosts: ~tag_Name_app(1
0|20
)_cme
#- hosts: ~tag_Name_app1
0
_cme
#- hosts: ~tag_Name_app2
0
_cme
#- hosts: ~tag_Name_app(1
|2
)_cme
#- hosts: ~tag_Name_app1_cme
#- hosts: ~tag_Name_app2_cme
-
hosts
:
~tag_Name_app(1|2)_cme
sudo
:
True
vars_prompt
:
...
...
@@ -41,6 +41,8 @@
-
sefk
-
jbau
-
jrbl
-
caesar2164
-
nparlante
tags
:
users
-
common
-
supervisor
...
...
playbooks/edx-west/cme-prod-worker.yml
View file @
e81a8204
...
...
@@ -25,6 +25,8 @@
-
jrbl
-
jinpa
-
gbruhns
-
nparlante
-
caesar2164
tags
:
users
-
role
:
'
common'
tags
:
common
...
...
playbooks/edx-west/prod-app.yml
View file @
e81a8204
...
...
@@ -32,6 +32,8 @@
-
sefk
-
jbau
-
jrbl
-
caesar2164
-
nparlante
tags
:
users
-
common
-
supervisor
...
...
playbooks/edx-west/prod-worker.yml
View file @
e81a8204
...
...
@@ -69,19 +69,19 @@
tags
:
certs
# run the notifier on the first util machine only
-
hosts
:
~tag_Name_util1_prod
sudo
:
True
vars
:
secure_dir
:
'
../../../configuration-secure/ansible'
migrate_db
:
"
no"
vars_files
:
-
"
roles/common/defaults/main.yml"
-
"
roles/supervisor/defaults/main.yml"
-
"
{{
secure_dir
}}/vars/edxapp_prod_vars.yml"
-
"
{{
secure_dir
}}/vars/notifier_prod_vars.yml"
roles
:
-
role
:
virtualenv
virtualenv_user
:
"
notifier"
virtualenv_user_home
:
"
/opt/wwc/notifier"
virtualenv_name
:
"
notifier"
-
notifier
#
- hosts: ~tag_Name_util1_prod
#
sudo: True
#
vars:
#
secure_dir: '../../../configuration-secure/ansible'
#
migrate_db: "no"
#
vars_files:
#
- "roles/common/defaults/main.yml"
#
- "roles/supervisor/defaults/main.yml"
#
- "{{ secure_dir }}/vars/edxapp_prod_vars.yml"
#
- "{{ secure_dir }}/vars/notifier_prod_vars.yml"
#
roles:
#
- role: virtualenv
#
virtualenv_user: "notifier"
#
virtualenv_user_home: "/opt/wwc/notifier"
#
virtualenv_name: "notifier"
#
- notifier
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