summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorCatalina Focsa <catalina.focsa@enea.com>2017-09-26 14:43:43 +0200
committerCatalina Focsa <catalina.focsa@enea.com>2017-09-29 14:36:03 +0000
commit6a78db925c69b97392919bd389c957d9623f3f81 (patch)
tree3b83d7e6656cdef13ce5b24cb3722e445ae64255 /ansible
parent850593125ca388b7157f2a8e1966e05a1caa0ab1 (diff)
Get node IPs and IDs according to env
Extract node IPs and IDs for each node having a controller or compute role (name starting with the "cmp" or "ctl" prefix) and add them into the $pod_yaml file, analogous to the previous implementation. Since node IDs are expected to be unique and integers (condition that does not match the salt node ID format), they are substituted with an incremented index for each controller/compute node in the environment. Change-Id: Id90626edc3f098bd96343336b2be179721dee5a1 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com> (cherry picked from commit 6892687967d2d5ac8db37dd67b3e52d9f775eda6)
Diffstat (limited to 'ansible')
0 files changed, 0 insertions, 0 deletions