deploy: change "@all" alias to "all"

This commit is contained in:
Sean Buckley 2023-03-25 17:09:34 -04:00
parent 84b4c53db8
commit f4d084803d

View file

@ -27,7 +27,7 @@ def get_deployment():
def expand(ln): def expand(ln):
hosts = set() hosts = set()
for item in ln.split(","): for item in ln.split(","):
if item == "@all": if item == "all":
hosts.update(depl) hosts.update(depl)
elif item[0] == "@": elif item[0] == "@":
hosts.update(x for x in depl if item[1:] in depl[x]["tags"]) hosts.update(x for x in depl if item[1:] in depl[x]["tags"])