From 95766317e378e1ba72e0394d5ce742e6545163b5 Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Sat, 27 Dec 2025 21:05:12 -0500 Subject: [PATCH] fix update script --- scripts/run_updates.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/run_updates.py b/scripts/run_updates.py index 9ec2eb0..a12012b 100644 --- a/scripts/run_updates.py +++ b/scripts/run_updates.py @@ -26,8 +26,9 @@ def main(): with open("main.yml", 'r') as file: data = yaml.safe_load(file) for host in data: - for task in host['tasks']: - deployable_tags.append(task['tags']) + if "tasks" in host: + for task in host['tasks']: + deployable_tags.append(task['tags']) if len(update_list["images"]) > 0: already_deployed = []