Silence ansible-lint
Add tags to tell ansible-lint to ignore the problems found since those are false positives. Needed-By: I16186c929e7d0e6e34b35271559e555255a52b00 Change-Id: I59e5d41a9539671ee5aab9b9036379eb9101d021
This commit is contained in:
parent
cb7efe3198
commit
d8b9239324
@ -6,3 +6,6 @@
|
||||
|
||||
- name: Prove that general sudo access is actually revoked.
|
||||
shell: '! sudo -n true'
|
||||
tags:
|
||||
# We really need shell above, skip warning
|
||||
- skip_ansible_lint
|
||||
|
@ -4,6 +4,10 @@
|
||||
register: scm_sha_output
|
||||
args:
|
||||
chdir: "{{ zuul_work_dir }}"
|
||||
# Skip linting since it triggers on the "git" command,
|
||||
# but rev-parse is not supported by ansible git module.
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Set scm_sha fact
|
||||
set_fact:
|
||||
|
Loading…
Reference in New Issue
Block a user