mastodon, don't recreate for now
All checks were successful
Deploy Containers / Prepare (push) Successful in 17s
Create New Secrets Template / Extract updated template (push) Successful in 6s

This commit is contained in:
2025-10-22 21:41:42 -04:00
parent b8d1b9432d
commit 2018de4ddb
3 changed files with 201 additions and 75 deletions

View File

@@ -44,12 +44,12 @@ def main():
if container not in diff:
diff.append(container)
# when variables update for a host, recreate containers
for file in diff:
if "host_vars" in file:
hostname = file.split("/")[1].split(".")[0]
print(f"Secret file for '{hostname}' changed, will recreate containers on host after deployment")
host_vars_changed_for.append(hostname)
# when variables update for a host & there are no other modified containers, recreate containers on host
# for file in diff:
# if "host_vars" in file:
# hostname = file.split("/")[1].split(".")[0]
# print(f"Secret file for '{hostname}' changed, will recreate containers on host after deployment")
# host_vars_changed_for.append(hostname)
deployed = []
failed = []