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
951182dc
Commit
951182dc
authored
Jan 17, 2014
by
Ubuntu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added users to app servers
parent
e81a8204
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
27 deletions
+27
-27
playbooks/edx-west/carnegie-prod-app.yml
+2
-2
playbooks/edx-west/carnegie-prod-worker.yml
+21
-21
playbooks/edx-west/cme-prod-app.yml
+2
-2
playbooks/edx-west/prod-app.yml
+2
-2
No files found.
playbooks/edx-west/carnegie-prod-app.yml
View file @
951182dc
#- hosts: ~tag_Name_app(1|2)_carn
#
- hosts: ~tag_Name_app1_carn
-
hosts
:
~tag_Name_app2_carn
-
hosts
:
~tag_Name_app1_carn
#
- hosts: ~tag_Name_app2_carn
#- hosts: ~tag_Name_app1_carn_test
sudo
:
True
vars_prompt
:
...
...
playbooks/edx-west/carnegie-prod-worker.yml
View file @
951182dc
...
...
@@ -37,31 +37,31 @@
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
-
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
...
...
playbooks/edx-west/cme-prod-app.yml
View file @
951182dc
...
...
@@ -14,9 +14,9 @@
#- hosts: tag_environment_prod:&tag_function_webserver
# or we can get subsets of them by name
#- hosts: ~tag_Name_app(1|2)_cme
#
- hosts: ~tag_Name_app1_cme
-
hosts
:
~tag_Name_app1_cme
#- hosts: ~tag_Name_app2_cme
-
hosts
:
~tag_Name_app(1|2)_cme
#
- hosts: ~tag_Name_app(1|2)_cme
sudo
:
True
vars_prompt
:
-
name
:
"
migrate_db"
...
...
playbooks/edx-west/prod-app.yml
View file @
951182dc
...
...
@@ -2,9 +2,9 @@
#- hosts: tag_environment_prod:&tag_function_webserver
# or we can get subsets of them by name
#- hosts: ~tag_Name_app1_prod
-
hosts
:
~tag_Name_app2_prod
#
- hosts: ~tag_Name_app2_prod
## this is the test box
#
- hosts: ~tag_Name_app4_prod
-
hosts
:
~tag_Name_app4_prod
#- hosts: ~tag_Name_app(4|1|2)_prod
## you can also do security group, but don't do that
#- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB
...
...
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