add help command; fixed task names
This commit is contained in:
parent
7ec4f6e23c
commit
dcffd8240e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user