From dcffd8240e408a8e956e2ed7662d26145a830922 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Thu, 9 Nov 2023 18:31:31 -0500 Subject: [PATCH] add help command; fixed task names --- test-broken-selectattr.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test-broken-selectattr.yml b/test-broken-selectattr.yml index 9bec0d5..5d0c5c4 100644 --- a/test-broken-selectattr.yml +++ b/test-broken-selectattr.yml @@ -6,13 +6,18 @@ tasks: - - name: Test Ansible Lint - Ignore Errors + - name: Test Ansible Lint - Version ansible.builtin.command: ansible-lint --version changed_when: false - - name: Test Ansible Lint - Ignore Errors - ansible.builtin.command: ansible-lint --nocolor -f json + - name: Test Ansible Lint - Help + 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 changed_when: false register: r_lint_output