Merge "playbooks: healthcheck-infrastructure: Ensure netcat is installed"

This commit is contained in:
Zuul 2018-09-18 20:19:49 +00:00 committed by Gerrit Code Review
commit cf2e0f4dbf

View File

@ -49,6 +49,10 @@
changed_when: false
when: groups['haproxy'] | length > 1
- package:
name: netcat
state: present
# Fails if HAProxy is not running
- name: Recording haproxy stats as a way to ensure haproxy runs
shell: 'echo "show info;show stat" | nc -U /var/run/haproxy.stat'