Skip to content

Commit a3c2993

Browse files
committed
Loop labels to name of object
1 parent 1785c91 commit a3c2993

File tree

2 files changed

+2
-1
lines changed
  • roles
    • controller_credential_types/tasks
    • controller_workflow_job_templates/tasks

2 files changed

+2
-1
lines changed

roles/controller_credential_types/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
loop: "{{ __credentialtypes_job_async.results }}"
4646
loop_control:
4747
loop_var: __credentialtypes_job_async_result_item
48-
label: "{{ __operation.verb }} Controller Credential Type {{ __credentialtypes_job_async_result_item }} | Wait for finish the credential type {{ __operation.action }}"
48+
label: "{{ __operation.verb }} Controller Credential Type {{ __credentialtypes_job_async_result_item.__controller_credential_type_item.name }} | Wait for finish the credential type {{ __operation.action }}"
4949
when: not ansible_check_mode and __credentialtypes_job_async_result_item.ansible_job_id is defined
5050
no_log: "{{ controller_configuration_credential_types_secure_logging }}"
5151
vars:

roles/controller_workflow_job_templates/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
loop: "{{ controller_workflows | default(workflow_job_templates) }}"
8282
loop_control:
8383
loop_var: __workflow_loop_item
84+
label: "Workflow {{ __workflow_loop_item.name }}"
8485
when:
8586
- __workflow_loop_item.simplified_workflow_nodes is defined
8687
- (__workflow_loop_item.state | default('present')) == "present"

0 commit comments

Comments
 (0)