tasks.py: host -> hosts
This commit is contained in:
parent
44cce95f44
commit
f1a84d8c99
1 changed files with 2 additions and 2 deletions
4
tasks.py
4
tasks.py
|
@ -178,7 +178,7 @@ def get_hosts(hosts: str) -> List[DeployHost]:
|
|||
@task
|
||||
def deploy(c, hosts=""):
|
||||
"""
|
||||
Deploy to all servers. Use inv deploy --host build01 to deploy to a single server
|
||||
Deploy to all servers. Use inv deploy --hosts build01 to deploy to a single server
|
||||
"""
|
||||
deploy_nixos(get_hosts(hosts))
|
||||
|
||||
|
@ -186,7 +186,7 @@ def deploy(c, hosts=""):
|
|||
@task
|
||||
def build_local(c, hosts=""):
|
||||
"""
|
||||
Build all servers. Use inv build-local --host build01 to build a single server
|
||||
Build all servers. Use inv build-local --hosts build01 to build a single server
|
||||
"""
|
||||
g = DeployGroup(get_hosts(hosts))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue