Skip to content

Commit

Permalink
fix: mongodb_exporter lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anviar committed Feb 16, 2024
1 parent 5ea28fa commit 0d3d6c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/mongodb_exporter/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mongodb_exporter_skip_install: false
mongodb_exporter_web_listen_address: "0.0.0.0:9216"
mongodb_exporter_web_telemetry_path: "/metrics"

# mongodb_exporter_uri: "mongodb://127.0.0.1:27017/admin?ssl=false"
mongodb_exporter_uri: ""
mongodb_exporter_collectors: []
mongodb_exporter_collstats_colls: []
mongodb_exporter_indexstats_colls: []
Expand Down
5 changes: 3 additions & 2 deletions roles/mongodb_exporter/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ argument_specs:
- "This overrides the I(mongodb_exporter_version) parameter"
mongodb_exporter_binary_url:
description: "URL of the mongodb_exporter binaries .tar.gz file"
default: "https://github.com/{{ _mongodb_exporter_repo }}/releases/download/v{{ mongodb_exporter_version }}/mongodb_exporter-{{ mongodb_exporter_version }}.linux-{{ go_arch }}.tar.gz"
default: "https://github.com/{{ _mongodb_exporter_repo }}/releases/download/v{{ mongodb_exporter_version }}/mongodb_exporter-{{ mongodb_exporter_version }}.linux-{{ go_arch }}.tar.gz"
mongodb_exporter_checksums_url:
description: "URL of the mongodb_exporter checksums file"
default: "https://github.com/{{ _mongodb_exporter_repo }}/releases/download/v{{ mongodb_exporter_version }}/mongodb_exporter_{{ mongodb_exporter_version }}_checksums.txt"
Expand Down Expand Up @@ -57,8 +57,9 @@ argument_specs:
mongodb_exporter_uri:
description: "MongoDB connection URI"
required: true
type: "str"
mongodb_exporter_collectors:
description:
description:
- "List collectors from L(documantation, https://github.com/percona/mongodb_exporter/blob/main/REFERENCE.md)."
- "You can specify 'all' to enable all collectors"
mongodb_exporter_collstats_colls:
Expand Down

0 comments on commit 0d3d6c3

Please sign in to comment.