Commit e81a8204 by Ubuntu

installation changes 2014-01-17

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