Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Add some datadog host tags
Browse files Browse the repository at this point in the history
Tags are done with a key:value seperated syntax so that you can pick
between various things like environ: to group them.
  • Loading branch information
jamielennox committed Apr 26, 2017
1 parent 91d1d20 commit c54bd02
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inventory/host_vars/bastion.opentechsjc.bonnyci.org
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ ansible_runner_tasks:
user: cideploy
ansible_remote_user: ubuntu

datadog_tags:
- environ:common
- role:bastion
- deploy:production

dns_subdomain: internal.opentechsjc.bonnyci.org

bonnyci_bastion_ssl: true
Expand Down
5 changes: 5 additions & 0 deletions inventory/host_vars/elk.opentechsjc.bonnyci.org
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
ansible_host: elk.internal.opentechsjc.bonnyci.org
ansible_user: ubuntu

datadog_tags:
- environ:common
- role:elk
- deploy:production
5 changes: 5 additions & 0 deletions inventory/host_vars/logs.opentechsjc.bonnyci.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
ansible_host: logs.internal.opentechsjc.bonnyci.org
ansible_user: ubuntu

datadog_tags:
- environ:common
- role:elk
- deploy:production

letsencrypt_csr_cn: logs.bonnyci.org
bonnyci_logs_ssl: yes
5 changes: 5 additions & 0 deletions inventory/host_vars/merger01.v2.opentechsjc.bonnyci.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
ansible_host: merger01.internal.opentechsjc.bonnyci.org
ansible_user: ubuntu

datadog_tags:
- environ:v2
- role:zuul
- deploy:production

zuul_components:
- zuul-merger
5 changes: 5 additions & 0 deletions inventory/host_vars/nodepool.v2.opentechsjc.bonnyci.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
ansible_host: nodepool.internal.opentechsjc.bonnyci.org
ansible_user: ubuntu

datadog_tags:
- environ:v2
- role:nodepool
- deploy:production

zookeeper_myid: 1
5 changes: 5 additions & 0 deletions inventory/host_vars/nodepool.v3.opentechsjc.bonnyci.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
ansible_host: nodepool.internal.v3.opentechsjc.bonnyci.org
ansible_user: ubuntu

datadog_tags:
- environ:v3
- role:nodepool
- deploy:production

zookeeper_myid: 1
5 changes: 5 additions & 0 deletions inventory/host_vars/zuul.v2.opentechsjc.bonnyci.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
ansible_host: zuul.internal.opentechsjc.bonnyci.org
ansible_user: ubuntu

datadog_tags:
- environ:v2
- role:zuul
- deploy:production

letsencrypt_csr_cn: zuul.bonnyci.org
bonnyci_zuul_webapp_ssl: yes

Expand Down
5 changes: 5 additions & 0 deletions inventory/host_vars/zuul.v3.opentechsjc.bonnyci.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
ansible_host: zuul.internal.v3.opentechsjc.bonnyci.org
ansible_user: ubuntu

datadog_tags:
- environ:v3
- role:zuul
- deploy:production

letsencrypt_csr_cn: zuul.v3.opentechsjc.bonnyci.org
bonnyci_zuul_webapp_ssl: yes

Expand Down

0 comments on commit c54bd02

Please sign in to comment.