Commit f8111a3b by Joe Blaylock

Merge branch 'edx-west/release-merge' of github.com:edx/configuration into…

Merge branch 'edx-west/release-merge' of github.com:edx/configuration into edx-west/release-merge-attempt-release
parents d084c082 447fa06f
...@@ -7,3 +7,16 @@ ...@@ -7,3 +7,16 @@
jinja2_extensions=jinja2.ext.do jinja2_extensions=jinja2.ext.do
hash_behaviour=merge hash_behaviour=merge
host_key_checking = False host_key_checking = False
# These are environment-specific defaults
forks=10
transport=ssh
hostfile=./ec2.py
extra_vars='key=deployment region=us-west-1'
user=ubuntu
[ssh_connection]
# example from https://github.com/ansible/ansible/blob/devel/examples/ansible.cfg
ssh_args= -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
scp_if_ssh=True
#- hosts: ~tag_Name_app(10|20)_carn #- hosts: ~tag_Name_app(10|20)_carn
- hosts: ~tag_Name_app10_carn #- hosts: ~tag_Name_app10_carn
#- hosts: ~tag_Name_app20_carn #- hosts: ~tag_Name_app20_carn
- hosts: ~tag_Name_app1_carn
sudo: True sudo: True
vars_prompt: vars_prompt:
- name: "migrate_db" - name: "migrate_db"
...@@ -23,13 +24,13 @@ ...@@ -23,13 +24,13 @@
roles: roles:
- common - common
- supervisor - supervisor
# - php - php
- role: nginx - role: nginx
nginx_sites: nginx_sites:
- lms - lms
- cms - cms
- lms-preview - lms-preview
# - phpmyadmin - phpmyadmin
nginx_template_directory: "{{local_dir}}/nginx/templates/carnegie/" nginx_template_directory: "{{local_dir}}/nginx/templates/carnegie/"
nginx_conf: true nginx_conf: true
- {'role': 'edxapp', 'openid_workaround': true, 'template_subdir': 'carnegie'} - {'role': 'edxapp', 'openid_workaround': true, 'template_subdir': 'carnegie'}
......
...@@ -14,8 +14,9 @@ ...@@ -14,8 +14,9 @@
#- hosts: tag_environment_prod:&tag_function_webserver #- hosts: tag_environment_prod:&tag_function_webserver
# or we can get subsets of them by name # or we can get subsets of them by name
#- hosts: ~tag_Name_app(10|20)_cme #- hosts: ~tag_Name_app(10|20)_cme
- hosts: ~tag_Name_app10_cme #- hosts: ~tag_Name_app10_cme
#- hosts: ~tag_Name_app20_cme #- hosts: ~tag_Name_app20_cme
- hosts: ~tag_Name_app(1|2)_cme
sudo: True sudo: True
vars_prompt: vars_prompt:
- name: "migrate_db" - name: "migrate_db"
......
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
#- hosts: ~tag_Name_app(10|20)_prod #- hosts: ~tag_Name_app(10|20)_prod
#- hosts: ~tag_Name_app(11|21)_prod #- hosts: ~tag_Name_app(11|21)_prod
## this is the test box ## this is the test box
- hosts: ~tag_Name_app4_prod #- hosts: ~tag_Name_app4_prod
- hosts: ~tag_Name_app(4_new|1|2)_prod
## you can also do security group, but don't do that ## you can also do security group, but don't do that
#- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB #- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB
sudo: True sudo: True
...@@ -41,4 +42,4 @@ ...@@ -41,4 +42,4 @@
- datadog - datadog
#- splunkforwarder #- splunkforwarder
# run this role last # run this role last
- in_production #- in_production
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
- phpmyadmin - phpmyadmin
- name: grant all on phpmyadin database to control user - name: grant all on phpmyadin database to control user
ignore_errors: true
mysql_user: > mysql_user: >
login_host={{ MYSQL_SERVER_HOST }} login_host={{ MYSQL_SERVER_HOST }}
login_user={{ MYSQL_SERVER_USER }} login_password={{ MYSQL_SERVER_PASS }} login_user={{ MYSQL_SERVER_USER }} login_password={{ MYSQL_SERVER_PASS }}
......
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