From b329ed0bdfffaf3f9e5e712c77965692151020c6 Mon Sep 17 00:00:00 2001 From: John Giannelos Date: Tue, 4 Oct 2016 19:45:18 +0300 Subject: [PATCH] Fix consul check for jenkins instance. --- roles/jenkins/templates/consul.json.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/jenkins/templates/consul.json.j2 b/roles/jenkins/templates/consul.json.j2 index 0036ae6..925c6a1 100644 --- a/roles/jenkins/templates/consul.json.j2 +++ b/roles/jenkins/templates/consul.json.j2 @@ -9,8 +9,8 @@ "checks": [ { "id": "jenkins-{{ ec2_id }}", - "name": "Jenkins on port 80", - "http": "http://{{ ansible_default_ipv4['address'] }}:8081", + "name": "Jenkins on port 8081", + "http": "http://{{ ansible_default_ipv4['address'] }}:8081/robots.txt", "interval": "10s", "timeout": "4s" }