Add Ansible Lint.

This commit is contained in:
Robert de Bock 2023-02-23 14:25:33 +01:00
parent 82db4a1bcc
commit de7cef1a47
2 changed files with 4 additions and 1 deletions

3
.ansible-lint Normal file
View File

@ -0,0 +1,3 @@
---
exclude_paths:
- ./tests/*

View File

@ -91,7 +91,7 @@
- name: Load galaxy_id
ansible.builtin.shell:
cmd: "set -o pipefail ; ansible-galaxy info {{ galaxy_namespace }}.{{ role_name }} | grep ' id: ' | awk '{print $NF}'"
cmd: "set -o pipefail ; ansible-galaxy info {{ galaxy_namespace }}.{{ role_name }} | grep ' id: ' | awk '{print $NF}'" # noqa no-tabs
register: galaxy_id
changed_when: no
failed_when: no