...
|
...
|
@@ -59,7 +59,7 @@ for _az in azs_mappings.keys(): |
|
|
file = open(os.path.join(PATH, "scripts/iptable/", _az, "app-iptable.sh"), 'r')
|
|
|
for line in file:
|
|
|
for deploy_prj_name in host_group.keys():
|
|
|
if line.strip().startswith(deploy_prj_name):
|
|
|
if line.strip().startswith(deploy_prj_name + "_" + _az):
|
|
|
g_hosts = []
|
|
|
groups[host_group[deploy_prj_name]] = g_hosts
|
|
|
i_1 = line.index("(")
|
...
|
...
|
|