From 6e1c39c3f09253f34c389b3f8d87d500ca0cc2f9 Mon Sep 17 00:00:00 2001 From: nadeemshahzad Date: Tue, 7 May 2024 13:13:03 +0500 Subject: [PATCH] fix: mongo port for dd check --- playbooks/roles/datadog/tasks/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/playbooks/roles/datadog/tasks/main.yml b/playbooks/roles/datadog/tasks/main.yml index 5a2e5b2ff84..d121a128e80 100644 --- a/playbooks/roles/datadog/tasks/main.yml +++ b/playbooks/roles/datadog/tasks/main.yml @@ -29,7 +29,7 @@ service: edx-mongodb instances: - hosts: - - "127.0.0.1:27018" + - "127.0.0.1:27017" username: "{{ datadog_mongo_username | default('admin') }}" password: "{{ datadog_mongo_password | default('password') }}" logs: @@ -39,7 +39,3 @@ start_position: beginning dest: /etc/datadog-agent/conf.d/mongo.d/conf.yaml when: (datadog_mongo_check | default(false)) -- name: Restart Datadog Agent - service: - name: datadog-agent - state: restarted