Silence ansible-lint
These warnings are ok, disable them. Change-Id: Ida5ecc81fdaed137ac10baa51643962a5e97b89d
This commit is contained in:
parent
1d2464f826
commit
6a278c011c
@ -32,6 +32,9 @@
|
|||||||
name: nodejs
|
name: nodejs
|
||||||
state: latest
|
state: latest
|
||||||
become: yes
|
become: yes
|
||||||
|
tags:
|
||||||
|
# Ignore ANSIBLE0010: We really want latest version
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
- name: Output node version
|
- name: Output node version
|
||||||
command: node --version
|
command: node --version
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
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,
|
# ANSIBLE0006: Skip linting since it triggers on the "git" command,
|
||||||
# but rev-parse is not supported by ansible git module.
|
# but rev-parse is not supported by ansible git module.
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
@ -20,6 +20,10 @@
|
|||||||
when: zuul.tag is not defined
|
when: zuul.tag is not defined
|
||||||
args:
|
args:
|
||||||
chdir: "{{ zuul_work_dir }}"
|
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
|
- name: Set scm_sha fact from output
|
||||||
set_fact:
|
set_fact:
|
||||||
@ -44,6 +48,10 @@
|
|||||||
register: commits_since_tag_output
|
register: commits_since_tag_output
|
||||||
args:
|
args:
|
||||||
chdir: "{{ zuul_work_dir }}"
|
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
|
- name: Set commits_since_tag fact
|
||||||
set_fact:
|
set_fact:
|
||||||
|
Loading…
Reference in New Issue
Block a user