Commit 75675563 by Joe Blaylock

Stanford datadog playbook updates

parent 5b2b8bc6
--- ---
- hosts: tag_environment_stage:!tag_function_nat - hosts: tag_environment_stage:!tag_function_nat
# exclude nat host b/c we can't log in to do thing with it anyway # exclude nat host b/c we can't log in anyway
#- hosts: tag_Name_bastion_stage #- hosts: tag_Name_bastion_stage
sudo: True sudo: True
vars: vars:
secure_dir: ../../../edx-secret/ansible secure_dir: ../../../edx-secret/ansible
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
- "{{ secure_dir }}/vars/edxapp_stage_vars.yml" - "{{ secure_dir }}/vars/edxapp_stage_vars.yml"
- "{{ secure_dir }}/vars/users.yml" - "{{ secure_dir }}/vars/users.yml"
- "{{ secure_dir }}/vars/edxapp_stage_users.yml" - "{{ secure_dir }}/vars/edxapp_stage_users.yml"
- "{{ secure_dir }}/vars/datadog_stage.yml"
roles: roles:
- common - common
- datadog
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
- "{{ secure_dir }}/vars/users.yml" - "{{ secure_dir }}/vars/users.yml"
- "{{ secure_dir }}/vars/edxapp_stage_users.yml" - "{{ secure_dir }}/vars/edxapp_stage_users.yml"
- "{{ secure_dir }}/vars/shib_stage_vars.yml" - "{{ secure_dir }}/vars/shib_stage_vars.yml"
- "{{ secure_dir }}/vars/datadog_stage.yml"
roles: roles:
- common - common
- role: nginx - role: nginx
...@@ -26,4 +27,4 @@ ...@@ -26,4 +27,4 @@
- apache - apache
- shibboleth - shibboleth
- datadog - datadog
- splunkforwarder #- splunkforwarder
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
- "{{ secure_dir }}/vars/users.yml" - "{{ secure_dir }}/vars/users.yml"
- "{{ secure_dir }}/vars/edxapp_stage_users.yml" - "{{ secure_dir }}/vars/edxapp_stage_users.yml"
#- "{{ secure_dir }}/vars/shib_stage_vars.yml" #- "{{ secure_dir }}/vars/shib_stage_vars.yml"
- "{{ secure_dir }}/vars/datadog_stage.yml"
roles: roles:
- common - common
- role: nginx - role: nginx
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
sudo: True sudo: True
vars_files: vars_files:
- "{{ secure_dir }}/vars/users_jumpbox.yml" - "{{ secure_dir }}/vars/users_jumpbox.yml"
- "{{ secure_dir }}/vars/datadog_stage.yml"
vars: vars:
secure_dir: '../../../configuration-secure/ansible' secure_dir: '../../../configuration-secure/ansible'
local_dir: '../../../configuration-secure/ansible/local' local_dir: '../../../configuration-secure/ansible/local'
roles: roles:
- common - common
- datadog
- hosts: tag_Name_log10_stage
sudo: True
vars_files:
- "{{ secure_dir }}/vars/users_jumpbox.yml"
- "{{ secure_dir }}/vars/datadog_stage.yml"
vars:
secure_dir: '../../../configuration-secure/ansible'
local_dir: '../../../configuration-secure/ansible/local'
roles:
- common
- datadog
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
vars_files: vars_files:
- "{{ secure_dir }}/vars/ora_stage_vars.yml" - "{{ secure_dir }}/vars/ora_stage_vars.yml"
- "{{ secure_dir }}/vars/edxapp_stage_users.yml" - "{{ secure_dir }}/vars/edxapp_stage_users.yml"
- "{{ secure_dir }}/vars/datadog_stage.yml"
roles: roles:
- common - common
- role: nginx - role: nginx
...@@ -15,4 +16,4 @@ ...@@ -15,4 +16,4 @@
- ora - ora
- ora - ora
- datadog - datadog
- splunkforwarder #- splunkforwarder
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
- "{{ secure_dir }}/vars/edxapp_stage_vars.yml" - "{{ secure_dir }}/vars/edxapp_stage_vars.yml"
- "{{ secure_dir }}/vars/users.yml" - "{{ secure_dir }}/vars/users.yml"
- "{{ secure_dir }}/vars/edxapp_stage_users.yml" - "{{ secure_dir }}/vars/edxapp_stage_users.yml"
- "{{ secure_dir }}/vars/datadog_stage.yml"
roles: roles:
- common - common
- { role: 'edxapp', celery_worker: True } - { role: 'edxapp', celery_worker: True }
- datadog
#- splunkforwarder
# run the notifier on the first util machine only # run the notifier on the first util machine only
- hosts: ~tag_Name_util10_stage - hosts: ~tag_Name_util10_stage
...@@ -32,5 +35,3 @@ ...@@ -32,5 +35,3 @@
virtualenv_user_home: "/opt/wwc/notifier" virtualenv_user_home: "/opt/wwc/notifier"
virtualenv_name: "notifier" virtualenv_name: "notifier"
- notifier - notifier
- datadog
- splunkforwarder
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
- "{{ secure_dir }}/vars/xqueue_stage_vars.yml" - "{{ secure_dir }}/vars/xqueue_stage_vars.yml"
- "{{ secure_dir }}/vars/users.yml" - "{{ secure_dir }}/vars/users.yml"
- "{{ secure_dir }}/vars/edxapp_stage_users.yml" - "{{ secure_dir }}/vars/edxapp_stage_users.yml"
- "{{ secure_dir }}/vars/datadog_stage.yml"
roles: roles:
- common - common
- role: nginx - role: nginx
...@@ -15,7 +16,7 @@ ...@@ -15,7 +16,7 @@
- xqueue - xqueue
- xqueue - xqueue
- datadog - datadog
- splunkforwarder #- splunkforwarder
#- hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_edxapp #- hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_edxapp
# sudo: True # sudo: True
......
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