From 15f8e331a48b304517e3579f86a792f70003d084 Mon Sep 17 00:00:00 2001
From: Deepak N <endeep123@gmail.com>
Date: Wed, 22 Nov 2017 11:59:22 +0530
Subject: [PATCH] Issue ekstep/sunbird-devops#332 feat: Fix ansible vars

---
 ansible/roles/stack-monitor/defaults/main.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/ansible/roles/stack-monitor/defaults/main.yml b/ansible/roles/stack-monitor/defaults/main.yml
index c4d394f50..ba238daa8 100644
--- a/ansible/roles/stack-monitor/defaults/main.yml
+++ b/ansible/roles/stack-monitor/defaults/main.yml
@@ -133,12 +133,12 @@ service_blackbox_checks:
   - service_name: 'logger_grafana'
     probe_module: [http_2xx]
     targets:
-      - https://{{api__host}}/grafana
+      - "https://{{api__host}}/grafana"
   - service_name: 'player_player'
     probe_module: [http_2xx]
     targets:
-      - https://{{api__host}}
-      - http://player_player:3000
+      - "https://{{api__host}}"
+      - "http://player_player:3000"
   - service_name: 'content_service_content_service'
     probe_module: [http_2xx]
     targets:
@@ -150,27 +150,27 @@ service_blackbox_checks:
   - service_name: 'monit'
     probe_module: [http_2xx]
     targets:
-      - http://{{ groups['swarm-bootstrap-manager'][0] }}:2812
+      - "http://{{ groups['swarm-bootstrap-manager'][0] }}:2812"
   - service_name: 'logger_oauth'
     probe_module: [http_4xx_auth]
     targets:
-      - https://{{api__host}}/dashboard
+      - "https://{{api__host}}/dashboard"
   - service_name: 'cassandra'
     probe_module: [tcp_connect]
     targets:
-      - {{ sunbird_cassandra_host }}:{{ cassandra_port }}
+      - "{{ sunbird_cassandra_host }}:{{ cassandra_port }}"
   - service_name: 'composite_search'
     probe_module: [composite_search]
     targets:
-      - https://{{api__host}}/api/composite/v1/search
+      - "https://{{api__host}}/api/composite/v1/search"
   - service_name: 'page_assemble'
     probe_module: [page_assemble]
     targets:
-      - https://{{api__host}}/api/data/v1/page/assemble
+      - "https://{{api__host}}/api/data/v1/page/assemble"
   - service_name: 'keycloak'
     probe_module: [http_2xx]
     targets:
-      - https://{{api__host}}/auth/realms/sunbird/protocol/openid-connect/auth?client_id=portal&state=foo&redirect_uri=https%3A%2F%2F{{api__host}}%2Fprivate%2Findex%3Fauth_callback%3D1&scope=openid&response_type=code
+      - "https://{{api__host}}/auth/realms/sunbird/protocol/openid-connect/auth?client_id=portal&state=foo&redirect_uri=https%3A%2F%2F{{api__host}}%2Fprivate%2Findex%3Fauth_callback%3D1&scope=openid&response_type=code"
 
 prometheus_route_prefix: prometheus
 prometheus_web_external_url: "https://{{api__host}}/{{ prometheus_route_prefix }}"
-- 
GitLab