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 - name: Debug r_lint_warnings
ansible.builtin.debug: ansible.builtin.debug:
msg: verbosity: 1
- "File: {{ item['location']['path'] }}" var: r_lint_warnings
- "Level: {{ item['level'] }}"
- "Severity: {{ item['severity'] }}"
- "Description: {{ item['description'] }}"
loop: "{{ r_lint_warnings }}"
loop_control:
label: "{{ item['location']['path'] }}"
- name: Debug r_lint_failures # - name: Debug r_lint_warnings
ansible.builtin.debug: # ansible.builtin.debug:
msg: # msg:
- "File: {{ item['location']['path'] }}" # - "File: {{ item['location']['path'] }}"
- "Level: {{ item['level'] }}" # - "Level: {{ item['level'] }}"
- "Severity: {{ item['severity'] }}" # - "Severity: {{ item['severity'] }}"
- "Description: {{ item['description'] }}" # - "Description: {{ item['description'] }}"
loop: "{{ r_lint_failures }}" # loop: "{{ r_lint_warnings }}"
loop_control: # loop_control:
label: "{{ item['location']['path'] }}" # 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'] }}"