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

Simplify condition

parent 35011fbd
No related branches found
No related tags found
1 merge request!35Version 2.0.0
......@@ -112,8 +112,7 @@ class Vagrantfile:
"winrm": Array("winrm", winrm_group)}
for name, devices in sandbox.groups.items():
if name != "hosts" and name != "routers" and\
name != "ssh" and name != "winrm":
if name not in ["hosts", "routers", "ssh", "winrm"]:
groups[name] = Array(name, devices)
return Hash("ansible_groups", groups)
......
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