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:
Andreas Jaeger 2017-10-24 08:28:22 +02:00 committed by Andreas Jaeger
parent cb7efe3198
commit d8b9239324
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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: