Skip to content

Commit

Permalink
Merge pull request #1082 from t-woerner/fix_pwpolicy_maxsequence_test
Browse files Browse the repository at this point in the history
pwpolicy test: Fix maxsequence test
  • Loading branch information
rjeffman authored Jun 7, 2023
2 parents 4e9ec11 + d04a12e commit 45700bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pwpolicy/test_pwpolicy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,23 +223,23 @@
ipapwpolicy:
ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}"
maxrepeat: 4
maxsequence: 4
register: result
failed_when: not result.changed or result.failed

- name: Ensure maxsequence of 4 for global_policy, again
ipapwpolicy:
ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}"
maxrepeat: 4
maxsequence: 4
register: result
failed_when: result.changed or result.failed

- name: Ensure maxsequence of 0 for global_policy
ipapwpolicy:
ipaadmin_password: SomeADMINpassword
ipaapi_context: "{{ ipa_context | default(omit) }}"
maxrepeat: 0
maxsequence: 0
register: result
failed_when: not result.changed or result.failed

Expand Down

0 comments on commit 45700bc

Please sign in to comment.