mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-08-05 14:24:48 +00:00
Merge pull request #1024 from rjeffman/pwpolicy_client_fix
pwpolicy: Fix tests for 'minlength: ""'
This commit is contained in:
@@ -175,7 +175,13 @@
|
|||||||
name: ops
|
name: ops
|
||||||
minlength: ""
|
minlength: ""
|
||||||
register: result
|
register: result
|
||||||
failed_when: result.changed or (result.failed and "int() argument must be a string, a bytes-like object" not in result.msg)
|
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
|
||||||
|
)
|
||||||
|
)
|
||||||
when: ipa_version is version("4.9", ">=")
|
when: ipa_version is version("4.9", ">=")
|
||||||
|
|
||||||
- name: Ensure minlength is not cleared due to FreeIPA issue
|
- name: Ensure minlength is not cleared due to FreeIPA issue
|
||||||
|
|||||||
Reference in New Issue
Block a user