Fix jinja2 white spaces issues reported by ansible-lint

This replaces double spaces by single spaces, fixes spaces in slices,
adds spaces before brackets and fixes bracket placing in when clauses.
This commit is contained in:
Thomas Woerner
2023-01-17 12:34:49 +01:00
parent d7c02d1347
commit d2f9fe6325
10 changed files with 70 additions and 72 deletions

View File

@@ -176,12 +176,10 @@
minlength: ""
register: result
failed_when:
result.changed or (
result.failed and not (
"an internal error has occurred" in result.msg
or "int() argument must be" in result.msg
)
)
result.changed or
(result.failed and not
("an internal error has occurred" in result.msg or
"int() argument must be" in result.msg))
when: ipa_version is version("4.9", ">=")
- name: Ensure minlength is not cleared due to FreeIPA issue