only run deployment task once
All checks were successful
Deploy Containers / Prepare (push) Successful in 4s
All checks were successful
Deploy Containers / Prepare (push) Successful in 4s
This commit is contained in:
@@ -73,10 +73,13 @@ 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:
|
||||||
task = deploy(tag=task_name)
|
if task_name not in deployed:
|
||||||
|
task = deploy(tag=task_name)
|
||||||
else:
|
else:
|
||||||
task_name = file.split("/")[1]
|
task_name = file.split("/")[1]
|
||||||
task = deploy(tag=task_name)
|
|
||||||
|
if task_name not in deployed:
|
||||||
|
task = deploy(tag=task_name)
|
||||||
|
|
||||||
if not task:
|
if not task:
|
||||||
failed.append(task_name)
|
failed.append(task_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user