[ussuri-train-only] Use more recent version of ansible-lint

we need fix[1] to bypass RepresenterError when using to_yaml filter.

[1] https://github.com/ansible/ansible-lint/pull/518

Change-Id: I8eead4d1a4ceac3d053af69e302c5b757c45cdaa
(cherry picked from commit d88808d063)
This commit is contained in:
David Vallee Delisle 2021-07-08 18:41:09 -04:00
parent ed94cfb941
commit b6ee862a1b
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
import os
import six
import yaml
from ansiblelint import AnsibleLintRule
@ -106,7 +105,7 @@ class ValidationHasMetadataRule(AnsibleLintRule):
'*metadata* should contain a %s key' % info))
continue
if not isinstance(metadata.get(info),
six.string_types):
str):
results.append((
{path: data},
'*%s* should be a string' % info))

View File

@ -22,7 +22,7 @@ repos:
types: [file, yaml]
entry: yamllint --strict -f parsable
- repo: https://github.com/ansible/ansible-lint.git
rev: v4.2.0
rev: v4.3.5
hooks:
- id: ansible-lint
always_run: true