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)
Reviewed: https:/ /review. openstack. org/632996 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=9a07d00c1c5 1643ae8bfd26247 3ee48168f2b2f1
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 9a07d00c1c51643 ae8bfd262473ee4 8168f2b2f1
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 3e0945c8b74dd94 ccf89dc05b0 be59ca69bd1890f 4817b8421f)
Change-Id: I21ed56a1c4d43a
(cherry picked from commit 1febc8b7b307cb5