- add debugging

- fixed linting issue
This commit is contained in:
2023-11-09 18:03:37 -05:00
parent 6bdf47a74b
commit 86157eaa4e
3 changed files with 8 additions and 109 deletions

View File

@ -7,15 +7,16 @@
tasks:
- name: Test Ansible Lint - Ignore Errors
# ansible.builtin.command: ansible-lint --nocolor -f json broken-lint.yml
ansible.builtin.command: ansible-lint --nocolor -f json
ignore_errors: true
changed_when: false
register: r_lint_output
# - name: Debug r_lint_output
# ansible.builtin.debug:
# var: r_lint_output['stdout']
- name: Debug r_lint_output
ansible.builtin.debug:
verbosity: 1
var: r_lint_output['stdout']
- name: Capture ansible-lint warnings and errors