Skip to content

Commit 8a42f1c

Browse files
author
Christopher M. Neill
committed
only define no_dd_monitoring where it is needed.
1 parent 77011c5 commit 8a42f1c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

ansible/gamma-hosts/variables

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ registry_host=10.4.4.82
7474
swarm_token=d363b783f03a845a2c82b081bfe8443e
7575
user_content_domain=runnable.ninja
7676
api_hello_runnable_github_token=88ddc423c2312d02a8bbcaad76dd4c374a30e4af
77-
no_dd_monitoring=false
7877

7978
[ec2:vars]
8079
env=gamma

ansible/roles/datadog/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
- name: add docker to dd-agent group
2929
sudo: yes
30-
when: no_dd_monitoring != true
30+
when: no_dd_monitoring is defined
3131
user:
3232
name=dd-agent
3333
groups=docker
@@ -57,7 +57,7 @@
5757

5858
- name: install docker integration
5959
sudo: yes
60-
when: no_dd_monitoring != true
60+
when: no_dd_monitoring is defined
6161
template:
6262
src=docker_daemon.yaml.j2
6363
dest=/etc/dd-agent/conf.d/docker_daemon.yaml

0 commit comments

Comments
 (0)