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:
Jesse Pretorius 2017-11-20 12:07:34 +00:00
parent 7145937250
commit f37321af6b
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,7 @@
register: run_task
notify: Skipped Handler
tags:
- skip_ansible_lint
- test-runit
handlers:
- name: Skipped Handler
@ -73,6 +74,7 @@
register: run_task
notify: Skipped Handler
tags:
- skip_ansible_lint
- test-runit
handlers:
- name: Skipped Handler
@ -100,12 +102,14 @@
register: skipped_task
notify: Skipped Handler
tags:
- skip_ansible_lint
- test-skipit
- name: Test unskipped task
command: /bin/true
register: run_task
notify: Run Handler
tags:
- skip_ansible_lint
- test-runit
handlers:
- name: Skipped Handler