add help command; fixed task names

This commit is contained in:
Chris Hammer 2023-11-09 18:31:31 -05:00
parent 7ec4f6e23c
commit dcffd8240e

View File

@ -6,13 +6,18 @@
tasks: tasks:
- name: Test Ansible Lint - Ignore Errors - name: Test Ansible Lint - Version
ansible.builtin.command: ansible-lint --version ansible.builtin.command: ansible-lint --version
changed_when: false changed_when: false
- name: Test Ansible Lint - Ignore Errors - name: Test Ansible Lint - Help
ansible.builtin.command: ansible-lint --nocolor -f json ansible.builtin.command: ansible-lint --help
changed_when: false
- name: Test Ansible Lint - Playbooks/Roles
ansible.builtin.command: ansible-lint --nocolor --format json
ignore_errors: true ignore_errors: true
changed_when: false changed_when: false
register: r_lint_output register: r_lint_output