Silence ansible-lint

These warnings are ok, disable them.

Change-Id: Ida5ecc81fdaed137ac10baa51643962a5e97b89d
This commit is contained in:
Andreas Jaeger 2017-10-26 22:27:54 +02:00
parent 1d2464f826
commit 6a278c011c
2 changed files with 12 additions and 1 deletions

View File

@ -32,6 +32,9 @@
name: nodejs
state: latest
become: yes
tags:
# Ignore ANSIBLE0010: We really want latest version
- skip_ansible_lint
- name: Output node version
command: node --version

View File

@ -4,7 +4,7 @@
register: scm_sha_output
args:
chdir: "{{ zuul_work_dir }}"
# Skip linting since it triggers on the "git" command,
# ANSIBLE0006: Skip linting since it triggers on the "git" command,
# but rev-parse is not supported by ansible git module.
tags:
- skip_ansible_lint
@ -20,6 +20,10 @@
when: zuul.tag is not defined
args:
chdir: "{{ zuul_work_dir }}"
# ANSIBLE0006: Skip linting since it triggers on the "git" command,
# but describe is not supported by ansible git module.
tags:
- skip_ansible_lint
- name: Set scm_sha fact from output
set_fact:
@ -44,6 +48,10 @@
register: commits_since_tag_output
args:
chdir: "{{ zuul_work_dir }}"
# ANSIBLE0006: Skip linting since it triggers on the "git" command,
# but describe is not supported by ansible git module.
tags:
- skip_ansible_lint
- name: Set commits_since_tag fact
set_fact: