add gluetun/qbit
All checks were successful
Deploy Containers / Prepare (push) Successful in 45s

This commit is contained in:
2025-08-02 19:25:12 -04:00
parent 45d6d979d8
commit 56855c6afe
5 changed files with 507 additions and 417 deletions

View File

@@ -47,12 +47,23 @@ def run_deployment(tag = None):
def main():
diff = git_diff()
vpn_containers = [
"tasks/qbittorrent.yml"
]
print("Reloading Caddyfile..")
subprocess.run(construct_ansible_command(tag="caddyfile_deploy"), shell=True, stdout=subprocess.PIPE)
success = True
deployed = 0
# auto-heal any vpn-dependent containers
if "tasks/gluetun.yml" in diff:
for container in vpn_containers:
if container not in diff:
print(f"Adding {container} to restart list as Gluetun is present..")
diff.append(container)
for file in diff:
if "tasks" in file:
task_name = file.split("/")[1].split(".")[0] + "_deploy"