Resolve ansible-lint test failures
With the merge of https://review.openstack.org/520177 in the tests repo some ansible-lint failures which previously were not being picked up are now detected. This adds the appropriate skip tags to the tasks so that they are not evaluated by ansible-lint. Change-Id: I820aa77ac097d4f3d043fb434255923847e3d650
This commit is contained in:
parent
7145937250
commit
f37321af6b
@ -41,6 +41,7 @@
|
|||||||
register: run_task
|
register: run_task
|
||||||
notify: Skipped Handler
|
notify: Skipped Handler
|
||||||
tags:
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
- test-runit
|
- test-runit
|
||||||
handlers:
|
handlers:
|
||||||
- name: Skipped Handler
|
- name: Skipped Handler
|
||||||
@ -73,6 +74,7 @@
|
|||||||
register: run_task
|
register: run_task
|
||||||
notify: Skipped Handler
|
notify: Skipped Handler
|
||||||
tags:
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
- test-runit
|
- test-runit
|
||||||
handlers:
|
handlers:
|
||||||
- name: Skipped Handler
|
- name: Skipped Handler
|
||||||
@ -100,12 +102,14 @@
|
|||||||
register: skipped_task
|
register: skipped_task
|
||||||
notify: Skipped Handler
|
notify: Skipped Handler
|
||||||
tags:
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
- test-skipit
|
- test-skipit
|
||||||
- name: Test unskipped task
|
- name: Test unskipped task
|
||||||
command: /bin/true
|
command: /bin/true
|
||||||
register: run_task
|
register: run_task
|
||||||
notify: Run Handler
|
notify: Run Handler
|
||||||
tags:
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
- test-runit
|
- test-runit
|
||||||
handlers:
|
handlers:
|
||||||
- name: Skipped Handler
|
- name: Skipped Handler
|
||||||
|
Loading…
Reference in New Issue
Block a user