Comment 13 for bug 1752932

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/556588
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=ca8e8fc90abc08e9080a16d5b9fa3fc5a93c29bb
Submitter: Zuul
Branch: master

commit ca8e8fc90abc08e9080a16d5b9fa3fc5a93c29bb
Author: Jean-Philippe Evrard <email address hidden>
Date: Mon Mar 26 16:56:11 2018 +0000

    Apply haproxy vars to haproxy group instead of haproxy_all

    Any ansible command loads the group vars/host vars.
    If haproxy group isn't properly loaded with hosts, the whole
    group_vars/haproxy_all/keepalived.yml will fail to get an index
    for any host belonging to the group.

    Instead the index should search in the group in which the variable
    applies to, to ensure it's always the same kind of group.

    In a later commit, we should make sure the index is always done when
    group size is bigger than 0.

    Change-Id: Id489b3f337ea0db0be0008477c9e3afde3872004
    Closes-Bug: #1752932