From 6fe5923179e54863547945254b0d88c78afc3f96 Mon Sep 17 00:00:00 2001 From: Benard Date: Mon, 3 Jun 2019 13:28:59 +0100 Subject: [PATCH 1/2] Added default module options to exporter --- defaults/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 07ed5ef..e0cc5c6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -12,6 +12,8 @@ blackbox_exporter_configuration_modules: prober: http timeout: 5s http: + method: GET + valid_status_codes: [] # http_post_2xx: # prober: http # timeout: 5s From 668ac48930ff50c86180b1efd02d9fce85e5ca6c Mon Sep 17 00:00:00 2001 From: Benard Date: Mon, 3 Jun 2019 13:37:01 +0100 Subject: [PATCH 2/2] Remove trailing spaces --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index e0cc5c6..7d01b62 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -13,7 +13,7 @@ blackbox_exporter_configuration_modules: timeout: 5s http: method: GET - valid_status_codes: [] + valid_status_codes: [] # http_post_2xx: # prober: http # timeout: 5s