Bug 2015288

Summary: Update ipapwpolicy with new IdM options in RHEL 8.5
Product: Red Hat Enterprise Linux 8 Reporter: Mike Ralph <mralph>
Component: ansible-freeipaAssignee: Rafael Jeffman <rjeffman>
Status: CLOSED ERRATA QA Contact: Varun Mylaraiah <mvarun>
Severity: low Docs Contact:
Priority: medium    
Version: 8.5CC: mvarun, rjeffman, twoerner
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ansible-freeipa-1.9.0-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2127911 (view as bug list) Environment:
Last Closed: 2023-05-16 08:15:55 UTC Type: Enhancement
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:    
Bug Blocks: 2127911    

Description Mike Ralph 2021-10-18 20:03:09 UTC
Description of problem:
  Current Ansible pwpolicy module does not include the new IdM password policy options

Version-Release number of selected component (if applicable):
  RHEL 8.5


Actual results: 
  Options not available to be used in the pwpolicy module

Expected results: 
  maxrepeat, massequence, dictcheck, and usercheck options available to be updated in module

Comment 2 Theodoros Apazoglou 2021-11-03 14:41:56 UTC
*** Bug 2015289 has been marked as a duplicate of this bug. ***

Comment 6 Rafael Jeffman 2022-11-05 02:23:24 UTC
Upstream PR: https://github.com/freeipa/ansible-freeipa/pull/971

Comment 10 Varun Mylaraiah 2022-12-19 10:36:06 UTC
Verified
ansible-2.9.27-1.el8ae.noarch
ansible-freeipa-1.9.0-1.el8.noarch

PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_maxrepeat
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_maxrepeat_0
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_maxrepeat_with_nagetive_number
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_maxrepeat_maxnumber
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_maxrepeat_with_nonnumeric
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_enable_dictcheck
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_disable_dictcheck
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_enable_usercheck
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_disable_usercheck
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_gracelimit_to_100
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_gracelimit_to_max
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_gracelimit_to_minus2
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_gracelimit_to_minus1
PASSED ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_gracelimit_to_zero


Based on the test result, marking the bug Verified

Comment 13 errata-xmlrpc 2023-05-16 08:15:55 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/RHEA-2023:2752