From 802533e45a95aa6bdffece4b806804f368fc67dc Mon Sep 17 00:00:00 2001 From: Olivier Bourdon Date: Mon, 1 Oct 2018 10:02:33 +0200 Subject: [PATCH] Add count to ping command for predictive process termination Used the same value than what was specified in rocky & master branches. Change-Id: I4334c777d1b37c2ffe8beb8a429f502b2360ed9c --- playbooks/healthcheck-infrastructure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/healthcheck-infrastructure.yml b/playbooks/healthcheck-infrastructure.yml index 6a0b7d676d..c35d47b67a 100644 --- a/playbooks/healthcheck-infrastructure.yml +++ b/playbooks/healthcheck-infrastructure.yml @@ -22,7 +22,7 @@ gather_facts: no tasks: - name: Check if host can connect to keepalived ping IP - command: "ping {{ keepalived_ping_address }}" + command: "ping -c 2 {{ keepalived_ping_address }}" changed_when: false - name: Checking if keepalived is running