Merge pull request #1225 from rjeffman/ci_pin_ansible_lint_version

Bump linter tools versions an fix linter errors
This commit is contained in:
Thomas Woerner
2024-05-27 14:33:52 +02:00
committed by GitHub
17 changed files with 74 additions and 55 deletions

View File

@@ -988,7 +988,9 @@ def main():
sshpubkey = [str(normalize_sshpubkey(key)) for
key in sshpubkey]
elif isinstance(host, (str, unicode)):
elif (
isinstance(host, (str, unicode)) # pylint: disable=W0012,E0606
):
name = host
else:
ansible_module.fail_json(msg="Host '%s' is not valid" %