Set haproxy install to use latest packages

This patch changes the apt task for installing haproxy packages
from only checking for presence to always checking for the
latest package version.

This is essential to allow a deployer to switch from a
configuration that does not implement SSL to one that does.

Change-Id: Iaf6eaedba835a332920336b1cb66190924537301
Closes-Bug: #1475597
This commit is contained in:
Jesse Pretorius
2015-07-17 12:13:31 +01:00
committed by Kevin Carter
parent b44dfc18a6
commit ba7587267a

View File

@@ -27,7 +27,7 @@
- name: Install HAPRoxy Packages
apt:
pkg: "{{ item }}"
state: present
state: latest
register: install_packages
until: install_packages|success
retries: 5