Slight modifications and gave round response a better name: Task {Number}.

This commit is contained in:
2025-01-09 10:08:47 +01:00
parent 27473583e4
commit 5492bd7e2f
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
name: Echo some text in the terminal of the device name: Echo some text in the terminal of the device
group: "Kubernetes" group: "Dev"
variables: variables:
- name: package_manager - name: package_manager
value: "apt" value: "apt"
+1 -1
View File
@@ -132,7 +132,7 @@ async def execute_playbook(session: meshctrl.Session, targets: dict, playbook: d
response[device]["device_name"] = await translate_id_to_name(device) response[device]["device_name"] = await translate_id_to_name(device)
task_batch.append(response[device]) task_batch.append(response[device])
responses_list[task["name"]] = task_batch responses_list["Task " + str(round)] = task_batch
round += 1 round += 1
output_text(("-" * 40), False) output_text(("-" * 40), False)