Bug 2215543

Summary: [ansible-freeipa] Fix handling of ipapwpolicy attributes usercheck and dictcheck
Product: Red Hat Enterprise Linux 8 Reporter: Thomas Woerner <twoerner>
Component: ansible-freeipaAssignee: Rafael Jeffman <rjeffman>
Status: VERIFIED --- QA Contact: Varun Mylaraiah <mvarun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.9CC: ipa-qe, mvarun, rjeffman
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-freeipa-1.11.1-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2215542 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2215542    
Bug Blocks:    

Description Thomas Woerner 2023-06-16 12:20:56 UTC
+++ This bug was initially created as a clone of Bug #2215542 +++

Fix handling of ipapwpolicy attributes usercheck and dictcheck. The handling of boolean values that can be cleared by using an empty string should include the same parsing method as the one used by Ansible.

Comment 1 Rafael Jeffman 2023-07-14 14:27:32 UTC
Upstream PR is merged: https://github.com/freeipa/ansible-freeipa/pull/1076

Comment 5 Varun Mylaraiah 2023-08-02 10:22:22 UTC
Verified

ansible-core-2.15.1-1.el8.x86_64
ansible-freeipa-1.11.1-1.el8.noarch

PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_reset_dictcheck
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_reset_usercheck

https://idm-artifacts.psi.redhat.com/idm-ci/ansible-freeipa/Test-compose/RHEL8.9/2023-07-25_12-09/tier-1/pytest-pwpolicy-module/1/report.html