Skip to content
Snippets Groups Projects
Commit c8705cd6 authored by Attila Farkas's avatar Attila Farkas
Browse files

Merge branch...

Merge branch '52-add-suport-for-groups-defined-in-the-latest-kypo-topology-definition' into 'master'

Resolve "52-add-suport-for-groups-defined-in-the-latest-kypo-topology-definition"

Closes #52

See merge request cs4eu/sandbox-creator!11
parents cd2a72fb ff62f4a6
No related branches found
No related tags found
1 merge request!11Resolve "52-add-suport-for-groups-defined-in-the-latest-kypo-topology-definition"
......@@ -121,6 +121,9 @@ def _create_ansible_commands(playbook_location, input_definitions, flags):
for router in input_definitions["routers"]:
router_names.append(router["name"])
groups["groups"]["routers"] = router_names
if "groups" in input_definitions:
for group in input_definitions["groups"]:
groups["groups"][group["name"]] = group["nodes"]
commands.append(groups)
if "ansible_local" in flags and flags["ansible_local"]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment