Slight modifications and gave round response a better name: Task {Number}.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: Echo some text in the terminal of the device
|
||||
group: "Kubernetes"
|
||||
group: "Dev"
|
||||
variables:
|
||||
- name: package_manager
|
||||
value: "apt"
|
||||
|
||||
+1
-1
@@ -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)
|
||||
task_batch.append(response[device])
|
||||
|
||||
responses_list[task["name"]] = task_batch
|
||||
responses_list["Task " + str(round)] = task_batch
|
||||
round += 1
|
||||
|
||||
output_text(("-" * 40), False)
|
||||
|
||||
Reference in New Issue
Block a user