only run deployment task once
All checks were successful
Deploy Containers / Prepare (push) Successful in 4s

This commit is contained in:
2025-10-15 23:41:33 -04:00
parent 2feb2a9cfb
commit 8a0d4af868

View File

@@ -73,9 +73,12 @@ def main():
if "host_vars" not in file: if "host_vars" not in file:
# deploy the task, regardless of its status # deploy the task, regardless of its status
if "roles/" not in file: if "roles/" not in file:
if task_name not in deployed:
task = deploy(tag=task_name) task = deploy(tag=task_name)
else: else:
task_name = file.split("/")[1] task_name = file.split("/")[1]
if task_name not in deployed:
task = deploy(tag=task_name) task = deploy(tag=task_name)
if not task: if not task: