Commit e81a8204 by Ubuntu

installation changes 2014-01-17

parent 497caeac
#- hosts: ~tag_Name_app(10|20)_carn
#- hosts: ~tag_Name_app10_carn
#- hosts: ~tag_Name_app20_carn
- hosts: ~tag_Name_app1_carn_test
#- hosts: ~tag_Name_app(1|2)_carn
#- hosts: ~tag_Name_app1_carn
- hosts: ~tag_Name_app2_carn
#- hosts: ~tag_Name_app1_carn_test
sudo: True
vars_prompt:
- name: "migrate_db"
......@@ -27,6 +27,8 @@
- sefk
- jbau
- jrbl
- caesar2164
- nparlante
tags: users
- common
- supervisor
......@@ -36,7 +38,7 @@
- lms
- cms
- lms-preview
- phpmyadminc
- phpmyadmin
nginx_template_directory: "{{local_dir}}/nginx/templates/carnegie/"
nginx_conf: true
- {'role': 'edxapp', 'openid_workaround': true, 'template_subdir': 'carnegie'}
......
......@@ -22,6 +22,10 @@
- sefk
- jbau
- jrbl
- jinpa
- gbruhns
- nparlante
- caesar2164
tags: users
- role: 'common'
tags: common
......@@ -33,15 +37,32 @@
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
## run the certificate agent on the first util machine only
#- hosts: ~tag_Name_util10_carn
# sudo: True
......
......@@ -13,9 +13,9 @@
# 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(10|20)_cme
#- hosts: ~tag_Name_app10_cme
#- hosts: ~tag_Name_app20_cme
#- hosts: ~tag_Name_app(1|2)_cme
#- hosts: ~tag_Name_app1_cme
#- hosts: ~tag_Name_app2_cme
- hosts: ~tag_Name_app(1|2)_cme
sudo: True
vars_prompt:
......@@ -41,6 +41,8 @@
- sefk
- jbau
- jrbl
- caesar2164
- nparlante
tags: users
- common
- supervisor
......
......@@ -25,6 +25,8 @@
- jrbl
- jinpa
- gbruhns
- nparlante
- caesar2164
tags: users
- role: 'common'
tags: common
......
......@@ -32,6 +32,8 @@
- sefk
- jbau
- jrbl
- caesar2164
- nparlante
tags: users
- common
- supervisor
......
......@@ -69,19 +69,19 @@
tags: certs
# run the notifier on the first util machine only
- hosts: ~tag_Name_util1_prod
sudo: True
vars:
secure_dir: '../../../configuration-secure/ansible'
migrate_db: "no"
vars_files:
- "roles/common/defaults/main.yml"
- "roles/supervisor/defaults/main.yml"
- "{{ secure_dir }}/vars/edxapp_prod_vars.yml"
- "{{ secure_dir }}/vars/notifier_prod_vars.yml"
roles:
- role: virtualenv
virtualenv_user: "notifier"
virtualenv_user_home: "/opt/wwc/notifier"
virtualenv_name: "notifier"
- notifier
#- hosts: ~tag_Name_util1_prod
# sudo: True
# vars:
# secure_dir: '../../../configuration-secure/ansible'
# migrate_db: "no"
# vars_files:
# - "roles/common/defaults/main.yml"
# - "roles/supervisor/defaults/main.yml"
# - "{{ secure_dir }}/vars/edxapp_prod_vars.yml"
# - "{{ secure_dir }}/vars/notifier_prod_vars.yml"
# roles:
# - role: virtualenv
# virtualenv_user: "notifier"
# virtualenv_user_home: "/opt/wwc/notifier"
# virtualenv_name: "notifier"
# - notifier
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