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
4b61ed37
Commit
4b61ed37
authored
Jan 09, 2014
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cme playbooks
parent
4f29e921
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
23 deletions
+50
-23
playbooks/edx-west/cme-prod-app.yml
+6
-0
playbooks/edx-west/cme-prod-worker.yml
+44
-23
No files found.
playbooks/edx-west/cme-prod-app.yml
View file @
4b61ed37
...
@@ -36,6 +36,12 @@
...
@@ -36,6 +36,12 @@
-
"
{{
secure_dir
}}/vars/datadog_cme.yml"
-
"
{{
secure_dir
}}/vars/datadog_cme.yml"
roles
:
roles
:
#- ansible_debug
#- ansible_debug
-
role
:
gh_users
gh_users
:
-
sefk
-
jbau
-
jrbl
tags
:
users
-
common
-
common
-
supervisor
-
supervisor
-
role
:
nginx
-
role
:
nginx
...
...
playbooks/edx-west/cme-prod-worker.yml
View file @
4b61ed37
-
name
:
Basic util setup on cme hosts
# this gets all running prod webservers
# this gets all running prod webservers
-
hosts
:
tag_environment_prod_cme:&tag_function_util
#
hosts: tag_environment_prod_cme:&tag_function_util
# or we can get subsets of them by name
# or we can get subsets of them by name
#- hosts: ~tag_Name_util(10
)_cme
hosts
:
~tag_Name_util(1
)_cme
sudo
:
True
sudo
:
True
gather_facts
:
True
vars
:
vars
:
secure_dir
:
'
../../../edx-secret/ansible'
secure_dir
:
'
../../../edx-secret/ansible'
# this indicates the path to site-specific (with precedence)
# this indicates the path to site-specific (with precedence)
...
@@ -11,29 +13,48 @@
...
@@ -11,29 +13,48 @@
migrate_db
:
"
no"
migrate_db
:
"
no"
vars_files
:
vars_files
:
-
"
{{
secure_dir
}}/vars/edxapp_cme_vars.yml"
-
"
{{
secure_dir
}}/vars/edxapp_cme_vars.yml"
-
"
{{
secure_dir
}}/vars/users.yml"
-
"
{{
secure_dir
}}/vars/xqueue_cme_vars.yml"
-
"
{{
secure_dir
}}/vars/edxapp_prod_users.yml"
# - "{{ secure_dir }}/vars/users.yml"
# - "{{ secure_dir }}/vars/edxapp_prod_users.yml"
-
"
{{
secure_dir
}}/vars/datadog_cme.yml"
-
"
{{
secure_dir
}}/vars/datadog_cme.yml"
roles
:
roles
:
-
common
-
role
:
gh_users
-
supervisor
gh_users
:
-
{
role
:
'
edxapp'
,
celery_worker
:
True
}
-
sefk
-
jbau
-
jrbl
tags
:
users
-
role
:
'
common'
tags
:
common
-
role
:
'
supervisor'
tags
:
supervisor
-
role
:
'
edxapp'
celery_worker
:
True
devstack
:
false
tags
:
celery
-
role
:
nginx
nginx_sites
:
-
xqueue
-
basic-auth
tags
:
nginx
-
role
:
xqueue
xqueue_create_db
:
"
no"
tags
:
xqueue
-
datadog
-
datadog
#- splunkforwarder
# run the certificate agent on the first util machine only
# run the certificate agent on the first util machine only
-
hosts
:
~tag_Name_util10_cme
#
- hosts: ~tag_Name_util10_cme
sudo
:
True
#
sudo: True
vars
:
#
vars:
secure_dir
:
'
../../../configuration-secure/ansible'
#
secure_dir: '../../../configuration-secure/ansible'
migrate_db
:
"
no"
#
migrate_db: "no"
vars_files
:
#
vars_files:
-
"
{{
secure_dir
}}/vars/edxapp_cme_vars.yml"
#
- "{{ secure_dir }}/vars/edxapp_cme_vars.yml"
-
"
{{
secure_dir
}}/vars/certifier_cme_vars.yml"
#
- "{{ secure_dir }}/vars/certifier_cme_vars.yml"
roles
:
#
roles:
-
common
#
- common
-
role
:
virtualenv
#
- role: virtualenv
virtualenv_user
:
"
certifier"
#
virtualenv_user: "certifier"
virtualenv_name
:
"
certifier"
#
virtualenv_name: "certifier"
virtualenv_user_home
:
"
/opt/wwc/certifier"
#
virtualenv_user_home: "/opt/wwc/certifier"
-
certificates
#
- certificates
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