darwin01: switch to new hardware
This commit is contained in:
parent
a50a726407
commit
4b682d296c
6 changed files with 19 additions and 13 deletions
8
tasks.py
8
tasks.py
|
@ -111,7 +111,13 @@ def get_hosts(hosts: str) -> List[DeployHost]:
|
|||
systems = data["nixosConfigurations"]
|
||||
return [DeployHost(f"{n}.nix-community.org") for n in systems]
|
||||
|
||||
if "darwin" in hosts:
|
||||
if "darwin01" in hosts:
|
||||
return [
|
||||
DeployHost(f"{h}.nix-community.org", user="customer")
|
||||
for h in hosts.split(",")
|
||||
]
|
||||
|
||||
if "darwin02" or "darwin03" in hosts:
|
||||
return [
|
||||
DeployHost(f"{h}.nix-community.org", user="hetzner")
|
||||
for h in hosts.split(",")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue