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: CLOSED ERRATA QA Contact: Varun Mylaraiah <mvarun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.9CC: ipa-qe, mvarun, rjeffman
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
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: 2023-11-14 15:26:32 UTC 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

Comment 8 errata-xmlrpc 2023-11-14 15:26:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ansible-freeipa bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6926