Commit c0fdc5b1 by Joe Blaylock

Checking in staging and ora updates

parent 806a9b3a
# this gets all running prod webservers # this gets all running prod webservers
#- 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(4)_prod #- hosts: ~tag_Name_app(10|20)_prod
#- hosts: ~tag_Name_app(11|21)_prod #- hosts: ~tag_Name_app(11|21)_prod
## these are cold hosts:
#- hosts: ~tag_Name_app(12|22)_prod
## this is the test box ## this is the test box
#- hosts: ~tag_Name_app4_prod - hosts: ~tag_Name_app4_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
......
---
- hosts: tag_environment_stage
#- hosts: tag_Name_bastion_stage
sudo: True
vars:
secure_dir: ../../../edx-secret/ansible
local_dir: ../../../edx-secret/ansible/local
vars_files:
- "{{ secure_dir }}/vars/edxapp_stage_vars.yml"
- "{{ secure_dir }}/vars/users.yml"
- "{{ secure_dir }}/vars/edxapp_stage_users.yml"
roles:
- common
---
- hosts: tag_environment_stage:&tag_function_ora
sudo: True
vars:
secure_dir: ../../../configuration-secure/ansible
local_dir: ../../../configuration-secure/ansible/local
migrate_db: "yes"
vars_files:
- "{{ secure_dir }}/vars/ora_stage_vars.yml"
- "{{ secure_dir }}/vars/edxapp_stage_users.yml"
roles:
- common
- nginx
- ora
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
- lms-preview - lms-preview
- lms-xml - lms-xml
- deploy - deploy
- jrbl
# Gather lms assets using django if necessary(When rake doesn't know how) # Gather lms assets using django if necessary(When rake doesn't know how)
- name: gather lms static assets with django - name: gather lms static assets with django
...@@ -28,7 +27,6 @@ ...@@ -28,7 +27,6 @@
- lms-preview - lms-preview
- lms-xml - lms-xml
- deploy - deploy
- jrbl
# Gather cms assets using rake if possible # Gather cms assets using rake if possible
...@@ -44,7 +42,6 @@ ...@@ -44,7 +42,6 @@
tags: tags:
- cms - cms
- deploy - deploy
- jrbl
- name: gather cms static assets with django - name: gather cms static assets with django
shell: SERVICE_VARIANT={{ cms_variant }} django-admin.py collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws --noinput --verbosity=0 shell: SERVICE_VARIANT={{ cms_variant }} django-admin.py collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws --noinput --verbosity=0
...@@ -57,7 +54,6 @@ ...@@ -57,7 +54,6 @@
tags: tags:
- cms - cms
- deploy - deploy
- jrbl
- name: update cms templates - name: update cms templates
shell: SERVICE_VARIANT={{ cms_variant }} django-admin.py update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws shell: SERVICE_VARIANT={{ cms_variant }} django-admin.py update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
......
...@@ -161,7 +161,6 @@ ...@@ -161,7 +161,6 @@
- lms-xml - lms-xml
- cms - cms
- deploy - deploy
- jrbl
- name: check if django can collect lms static data - name: check if django can collect lms static data
shell: SERVICE_VARIANT={{ lms_variant }} django-admin.py help collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws shell: SERVICE_VARIANT={{ lms_variant }} django-admin.py help collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws
...@@ -175,7 +174,6 @@ ...@@ -175,7 +174,6 @@
- lms-preview - lms-preview
- lms-xml - lms-xml
- deploy - deploy
- jrbl
- name: check if django can collect cms static data - name: check if django can collect cms static data
shell: SERVICE_VARIANT={{ lms_variant }} django-admin.py help collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws shell: SERVICE_VARIANT={{ lms_variant }} django-admin.py help collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
...@@ -187,7 +185,6 @@ ...@@ -187,7 +185,6 @@
tags: tags:
- cms - cms
- deploy - deploy
- jrbl
- name: check if django can update cms templates - name: check if django can update cms templates
shell: SERVICE_VARIANT={{ cms_variant }} django-admin.py help update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws shell: SERVICE_VARIANT={{ cms_variant }} django-admin.py help update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
...@@ -199,7 +196,6 @@ ...@@ -199,7 +196,6 @@
tags: tags:
- cms - cms
- deploy - deploy
- jrbl
- include: collect_static.yml - include: collect_static.yml
when: celery_worker is not defined when: celery_worker is not defined
......
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