clan-cli secrets: deploy -> upload

This commit is contained in:
lassulus
2023-09-14 13:49:20 +02:00
committed by Mic92
parent 55fc055549
commit c5786614bf
7 changed files with 63 additions and 63 deletions

View File

@@ -4,7 +4,7 @@ import os
import subprocess
from ..ssh import Host, HostGroup, HostKeyCheck
from ..secrets.deploy import deploy_secrets
from ..secrets.upload import upload_secrets
from ..secrets.generate import generate_secrets
@@ -35,7 +35,7 @@ def deploy_nixos(hosts: HostGroup) -> None:
ssh_arg += " -i " + h.key if h.key else ""
generate_secrets(h.host)
deploy_secrets(h.host)
upload_secrets(h.host)
flake_attr = h.meta.get("flake_attr", "")
if flake_attr: