Skip to content

Commit 77011c5

Browse files
author
Christopher M. Neill
committed
Will need to run "ansible-playbook -i <env> -e force_restart=true datadog.yml" to deploy.
1 parent 35b8943 commit 77011c5

5 files changed

Lines changed: 4 additions & 3 deletions

File tree

ansible/delta-hosts/variables

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ vault_aws_region=us-east-1
6060
[delta:vars]
6161
ansible_ssh_private_key_file=~/.ssh/delta.pem
6262
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
63-
datadog_host_address=10.8.5.63
6463
datadog_tags=env:delta
6564
domain=runnable.io
6665
mongo_port=27017

ansible/gamma-hosts/variables

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ vault_aws_region=us-east-1
5959

6060
[gamma:vars]
6161
ansible_ssh_private_key_file=~/.ssh/gamma.pem
62-
datadog_host_address=10.4.6.251
6362
datadog_tags=env:gamma
6463
datadog_mongodb_user=datadog
6564
datadog_mongodb_pwd=sqa3WBgkCgZsFZuex0kBNahZ

ansible/group_vars/all.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ consul_api_port: 8500
5252

5353
# datadog
5454
datadog_api_key: 6488896fe0c811965ef233b96809d70d
55+
# not sure this ever gets referenced by anything
5556
datadog_host_address: "{{ ansible_default_ipv4.address }}"
5657
datadog_port: 8125
5758

ansible/roles/datadog/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
# assumes a config for {{ name }} exists
6767
- name: install datadog integrations
6868
sudo: yes
69-
when: docker_config != "docks"
69+
when: name is defined
7070
template:
7171
src="{{ name }}.yaml.j2"
7272
dest="/etc/dd-agent/conf.d/{{ name }}.yaml"

ansible/roles/datadog/templates/datadog.conf.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ dd_url: https://app.datadoghq.com
66
api_key: {{ datadog_api_key }}
77

88
use_mount: no
9+
10+
bind_host: 0.0.0.0

0 commit comments

Comments
 (0)