Skip to content

Commit

Permalink
Merge pull request #2 from edx/nadeem/fix-mongo-port-dd-check
Browse files Browse the repository at this point in the history
fix: mongo port for dd check
  • Loading branch information
nadeemshahzad authored May 7, 2024
2 parents cfa7703 + 6e1c39c commit 1da9cf7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions playbooks/roles/datadog/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 1da9cf7

Please sign in to comment.