Commit c0fdc5b1 by Joe Blaylock

Checking in staging and ora updates

parent 806a9b3a
# 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(4)_prod
#- hosts: ~tag_Name_app(10|20)_prod
#- hosts: ~tag_Name_app(11|21)_prod
## these are cold hosts:
#- hosts: ~tag_Name_app(12|22)_prod
## 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
#- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB
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 @@
- lms-preview
- lms-xml
- deploy
- jrbl
# Gather lms assets using django if necessary(When rake doesn't know how)
- name: gather lms static assets with django
......@@ -28,7 +27,6 @@
- lms-preview
- lms-xml
- deploy
- jrbl
# Gather cms assets using rake if possible
......@@ -44,7 +42,6 @@
tags:
- cms
- deploy
- jrbl
- 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
......@@ -57,7 +54,6 @@
tags:
- cms
- deploy
- jrbl
- name: update cms templates
shell: SERVICE_VARIANT={{ cms_variant }} django-admin.py update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
......
......@@ -161,7 +161,6 @@
- lms-xml
- cms
- deploy
- jrbl
- 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
......@@ -175,7 +174,6 @@
- lms-preview
- lms-xml
- deploy
- jrbl
- 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
......@@ -187,7 +185,6 @@
tags:
- cms
- deploy
- jrbl
- 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
......@@ -199,7 +196,6 @@
tags:
- cms
- deploy
- jrbl
- include: collect_static.yml
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