add line number to output

This commit is contained in:
Chris Hammer 2023-11-10 13:29:28 -05:00
parent 8e3134179b
commit 21815d7ee1

View File

@ -100,6 +100,7 @@
ansible.builtin.debug:
msg:
- "File: {{ item['location']['path'] }}"
- "Line Number: {{ item['location']['lines']['begin'] }}"
- "Level: {{ item['level'] }}"
- "Severity: {{ item['severity'] }}"
- "Description: {{ item['description'] }}"
@ -112,6 +113,7 @@
ansible.builtin.debug:
msg:
- "File: {{ item['location']['path'] }}"
- "Line Number: {{ item['location']['lines']['begin'] }}"
- "Level: {{ item['level'] }}"
- "Severity: {{ item['severity'] }}"
- "Description: {{ item['description'] }}"