mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
deploy: change "@all" alias to "all"
This commit is contained in:
parent
84b4c53db8
commit
f4d084803d
1 changed files with 1 additions and 1 deletions
|
@ -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"])
|
||||||
|
|
Loading…
Reference in a new issue