add extra debugging with verbosity

This commit is contained in:
Chris Hammer 2023-11-09 18:46:39 -05:00
parent 2ca410eedb
commit 1db6813a05

View File

@ -37,23 +37,29 @@
- name: Debug r_lint_warnings
ansible.builtin.debug:
msg:
- "File: {{ item['location']['path'] }}"
- "Level: {{ item['level'] }}"
- "Severity: {{ item['severity'] }}"
- "Description: {{ item['description'] }}"
loop: "{{ r_lint_warnings }}"
loop_control:
label: "{{ item['location']['path'] }}"
verbosity: 1
var: r_lint_warnings
- name: Debug r_lint_failures
ansible.builtin.debug:
msg:
- "File: {{ item['location']['path'] }}"
- "Level: {{ item['level'] }}"
- "Severity: {{ item['severity'] }}"
- "Description: {{ item['description'] }}"
loop: "{{ r_lint_failures }}"
loop_control:
label: "{{ item['location']['path'] }}"
# - name: Debug r_lint_warnings
# ansible.builtin.debug:
# msg:
# - "File: {{ item['location']['path'] }}"
# - "Level: {{ item['level'] }}"
# - "Severity: {{ item['severity'] }}"
# - "Description: {{ item['description'] }}"
# loop: "{{ r_lint_warnings }}"
# loop_control:
# label: "{{ item['location']['path'] }}"
# - name: Debug r_lint_failures
# ansible.builtin.debug:
# msg:
# - "File: {{ item['location']['path'] }}"
# - "Level: {{ item['level'] }}"
# - "Severity: {{ item['severity'] }}"
# - "Description: {{ item['description'] }}"
# loop: "{{ r_lint_failures }}"
# loop_control:
# label: "{{ item['location']['path'] }}"