Merge "Silence ansible-lint"

This commit is contained in:
Zuul 2017-10-25 16:39:10 +00:00 committed by Gerrit Code Review
commit d7e5a849a7
2 changed files with 7 additions and 0 deletions

View File

@ -6,3 +6,6 @@
- name: Prove that general sudo access is actually revoked. - name: Prove that general sudo access is actually revoked.
shell: '! sudo -n true' 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 register: scm_sha_output
args: args:
chdir: "{{ zuul_work_dir }}" 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 - name: Set scm_sha fact
set_fact: set_fact: