Skip to content

Commit

Permalink
Shorten label of job template async status
Browse files Browse the repository at this point in the history
The current label of the step to wait for the async job templates to complete shows the full JSON output of the job var, which is very verbose and can be especially long when a survey is included.

Shorten the output so it only shows the name of the job template, very similar to the task that  manages controller job templates
  • Loading branch information
MallocArray authored Dec 9, 2024
1 parent 42a369a commit aefc752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/controller_job_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
loop: "{{ __job_templates_job_async.results }}"
loop_control:
loop_var: __job_templates_job_async_result_item
label: "{{ __operation.verb }} Job Template {{ __job_templates_job_async_result_item }} | Wait for finish the Job Template {{ __operation.action }}"
label: "{{ __operation.verb }} Job Template {{ __job_templates_job_async_result_item.__controller_template_item.name }} | Wait for finish the Job Template {{ __operation.action }}"
when: not ansible_check_mode and __job_templates_job_async_result_item.ansible_job_id is defined
no_log: "{{ controller_configuration_job_templates_secure_logging }}"
vars:
Expand Down

0 comments on commit aefc752

Please sign in to comment.