Fix for proper package name depending on base OS distribution
Change-Id: I88c2f76dbb64fd9c863d47c5bc5fd43e0f0e819e
This commit is contained in:
parent
e1aabd05b8
commit
208513dfae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue