Comment 10 for bug 1812962

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/632996
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9a07d00c1c51643ae8bfd262473ee48168f2b2f1
Submitter: Zuul
Branch: stable/rocky

commit 9a07d00c1c51643ae8bfd262473ee48168f2b2f1
Author: Martin André <email address hidden>
Date: Tue Jan 22 09:47:22 2019 +0100

    Store nodes information in a dict

    Re-using the same variable for each role was not very clean and forced
    us to re-check which master nodes were new in the deployment. Instead,
    use a dict for `role_nodes` and `new_role_nodes` with keys being the
    role name.

    This will allow us to re-generate updated inventory in later step
    without needing to set the facts once again.

    Related-Bug: #1812962
    Change-Id: I21ed56a1c4d43a3e0945c8b74dd94ccf89dc05b0
    (cherry picked from commit 1febc8b7b307cb5be59ca69bd1890f4817b8421f)