Merge "Fix for proper package name depending on base OS distribution"

This commit is contained in:
Zuul 2018-10-09 04:52:24 +00:00 committed by Gerrit Code Review
commit 1c6f1f68cd

View File

@ -50,7 +50,7 @@
when: groups['haproxy'] | length > 1
- package:
name: netcat
name: "{% if ansible_distribution | lower == 'centos' %}nc{% elif ansible_distribution | lower == 'suse' %}netcat-openbsd{% else %}netcat{% endif %}"
state: present
# Fails if HAProxy is not running