Skip to content

Commit

Permalink
Fixup arguments_spec linting issues.
Browse files Browse the repository at this point in the history
Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Jul 29, 2023
1 parent e2425db commit 15ee3fd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
6 changes: 6 additions & 0 deletions roles/blackbox_exporter/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ argument_specs:
http:
method: GET
valid_status_codes: []
blackbox_exporter_user:
description: "The user the exporter runs as"
default: "blackbox-exp"
blackbox_exporter_group:
description: "The group the exporter runs as"
default: "blackbox-exp"
4 changes: 2 additions & 2 deletions roles/mysqld_exporter/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ mysqld_exporter_username: exporter
mysqld_exporter_password: secret

mysqld_exporter_config_file: "mysqld_exporter.cnf"
# mysqld_exporter_host: localhost
# mysqld_exporter_port: 3306
mysqld_exporter_host: null
mysqld_exporter_port: null
mysqld_exporter_socket: "/run/mysqld/mysqld.sock"

mysqld_exporter_tls_server_config: {}
Expand Down
9 changes: 9 additions & 0 deletions roles/mysqld_exporter/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ argument_specs:
mysqld_exporter_web_telemetry_path:
description: "Path under which to expose metrics"
default: "/metrics"
mysqld_exporter_config_dir:
description: "The path where exporter configuration is stored"
default: "/etc/mysqld_exporter"
mysqld_exporter_config_file:
description: "The filename of the exporter mysql config file"
default: "mysqld_exporter.cnf"
Expand All @@ -42,6 +45,12 @@ argument_specs:
mysqld_exporter_socket:
description: "The target MySQL unix socket"
default: "/run/mysqld/mysqld.sock"
mysqld_exporter_username:
description: "The username for MySQL login"
default: "exporter"
mysqld_exporter_password:
description: "The password for MySQL login"
default: "secret"
mysqld_exporter_enabled_collectors:
description:
- "List of dicts defining additionally enabled collectors and their configuration."
Expand Down

0 comments on commit 15ee3fd

Please sign in to comment.