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
roles
revoke-sudo/tasks
version-from-git/tasks

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