Bug 2150332
| Summary: | [ansible-freeipa] Not able to reset the maxrepeat in the pwpolicy module | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Varun Mylaraiah <mvarun> | |
| Component: | ansible-freeipa | Assignee: | Rafael Jeffman <rjeffman> | |
| Status: | CLOSED ERRATA | QA Contact: | Varun Mylaraiah <mvarun> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.8 | CC: | rjeffman, twoerner | |
| Target Milestone: | rc | Keywords: | Regression, Triaged | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | ansible-freeipa-1.9.1-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2150334 (view as bug list) | Environment: | ||
| Last Closed: | 2023-05-16 08:15:59 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: | ||||
| Bug Blocks: | 2150334 | |||
Changing DTM/ITM back to 22/24 as the fix for this issue will require more changes as nearly all fields can be cleared with an empty string on CLI. The only field that failed to clear is 'minlength'. Upstream PR: https://github.com/freeipa/ansible-freeipa/pull/1012 Upstream PR has been merged. Sorry, marked the wrong PR as merged. Marking BZ back to "ASSIGNED". Upstream PR has been merged. Verified
ansible-2.9.27-1.el8ae.noarch
ansible-freeipa-1.9.2-1.el8.noarch
Passed ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_maxrepeat_reset
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin']
DEBUG pytest_multihost.host.Host.master.cmd90:transport.py:519 RUN ['kinit', 'admin']
DEBUG paramiko.transport:channel.py:1212 [chan 89] Sesch channel 89 request ok
DEBUG pytest_multihost.host.Host.master.cmd90:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd90:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd90:transport.py:563 Password for admin:
DEBUG paramiko.transport:channel.py:1212 [chan 89] EOF received (89)
DEBUG paramiko.transport:channel.py:1212 [chan 89] EOF sent (89)
DEBUG pytest_multihost.host.Host.master.cmd90:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 90] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 90] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 90 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'pwpolicy-add', '10newpolicygroup', '--priority=14', '--maxrepeat=14']
DEBUG pytest_multihost.host.Host.master.cmd91:transport.py:519 RUN ['ipa', 'pwpolicy-add', '10newpolicygroup', '--priority=14', '--maxrepeat=14']
DEBUG paramiko.transport:channel.py:1212 [chan 90] Sesch channel 90 request ok
DEBUG pytest_multihost.host.Host.master.cmd91:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd91:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd91:transport.py:563 Group: 10newpolicygroup
DEBUG pytest_multihost.host.Host.master.cmd91:transport.py:563 Priority: 14
DEBUG pytest_multihost.host.Host.master.cmd91:transport.py:563 Max repeat: 14
DEBUG pytest_multihost.host.Host.master.cmd91:transport.py:563 Grace login limit: -1
DEBUG paramiko.transport:channel.py:1212 [chan 90] EOF received (90)
DEBUG paramiko.transport:channel.py:1212 [chan 90] EOF sent (90)
DEBUG pytest_multihost.host.Host.master.cmd91:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 91] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 91] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 91 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin']
DEBUG pytest_multihost.host.Host.master.cmd92:transport.py:519 RUN ['kinit', 'admin']
DEBUG paramiko.transport:channel.py:1212 [chan 91] Sesch channel 91 request ok
DEBUG pytest_multihost.host.Host.master.cmd92:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd92:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd92:transport.py:563 Password for admin:
DEBUG paramiko.transport:channel.py:1212 [chan 91] EOF received (91)
DEBUG paramiko.transport:channel.py:1212 [chan 91] EOF sent (91)
DEBUG pytest_multihost.host.Host.master.cmd92:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 92] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 92] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 92 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'pwpolicy-find', '10newpolicygroup']
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:519 RUN ['ipa', 'pwpolicy-find', '10newpolicygroup']
DEBUG paramiko.transport:channel.py:1212 [chan 92] Sesch channel 92 request ok
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 Group: 10newpolicygroup
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 Priority: 14
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 Max repeat: 14
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 Grace login limit: -1
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 ----------------------------
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 Number of entries returned 1
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:563 ----------------------------
DEBUG paramiko.transport:channel.py:1212 [chan 92] EOF received (92)
DEBUG paramiko.transport:channel.py:1212 [chan 92] EOF sent (92)
DEBUG pytest_multihost.host.Host.master.cmd93:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 93] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 93] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 93 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kdestroy', '-A']
DEBUG pytest_multihost.host.Host.master.cmd94:transport.py:519 RUN ['kdestroy', '-A']
DEBUG paramiko.transport:channel.py:1212 [chan 93] Sesch channel 93 request ok
DEBUG pytest_multihost.host.Host.master.cmd94:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd94:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG paramiko.transport:channel.py:1212 [chan 93] EOF received (93)
DEBUG paramiko.transport:channel.py:1212 [chan 93] EOF sent (93)
DEBUG pytest_multihost.host.Host.master.cmd94:transport.py:217 Exit code: 0
INFO pytest_multihost.host.Host.ansible.ParamikoTransport:transport.py:293 WRITE inventory/pwpolicy.hosts
DEBUG paramiko.transport.sftp:sftp.py:158 [chan 0] open(b'inventory/pwpolicy.hosts', 'wb')
DEBUG paramiko.transport.sftp:sftp.py:158 [chan 0] open(b'inventory/pwpolicy.hosts', 'wb') -> 00000000
DEBUG paramiko.transport.sftp:sftp.py:158 [chan 0] close(00000000)
INFO pytest_multihost.host.Host.ansible.ParamikoTransport:transport.py:329 PUT pwpolicy_module.yml
DEBUG paramiko.transport.sftp:sftp.py:158 [chan 0] open(b'pwpolicy_module.yml', 'wb')
DEBUG paramiko.transport.sftp:sftp.py:158 [chan 0] open(b'pwpolicy_module.yml', 'wb') -> 00000000
DEBUG paramiko.transport.sftp:sftp.py:158 [chan 0] close(00000000)
DEBUG paramiko.transport.sftp:sftp.py:158 [chan 0] stat(b'pwpolicy_module.yml')
DEBUG paramiko.transport:channel.py:1212 [chan 18] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 18] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 18 opened.
INFO pytest_multihost.host.Host.ansible.ParamikoTransport:transport.py:318 RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/pwpolicy.hosts', 'pwpolicy_module.yml']
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:519 RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/pwpolicy.hosts', 'pwpolicy_module.yml']
DEBUG paramiko.transport:channel.py:1212 [chan 18] Sesch channel 18 request ok
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 ansible-playbook 2.9.27
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 config file = /etc/ansible/ansible.cfg
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 ansible python module location = /usr/lib/python3.6/site-packages/ansible
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 executable location = /usr/bin/ansible-playbook
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 python version = 3.6.8 (default, Jan 23 2023, 22:31:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)]
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Using /etc/ansible/ansible.cfg as config file
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'actionable', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'counter_enabled', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'debug', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'dense', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'dense', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'full_skip', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'json', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'minimal', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'null', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'oneline', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'selective', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'skippy', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'stderr', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'unixy', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'yaml', as we already have a stdout callback.
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 PLAYBOOK: pwpolicy_module.yml **************************************************
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 1 plays in pwpolicy_module.yml
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 PLAY [Playbook to ensure maxrepeat reset.] *************************************
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 TASK [Gathering Facts] *********************************************************
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 task path: /root/pwpolicy_module.yml:2
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 ok: [master.ipadomain.test]
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 META: ran handlers
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 TASK [ipapwpolicy] *************************************************************
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 task path: /root/pwpolicy_module.yml:7
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 changed: [master.ipadomain.test] => {"changed": true}
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 META: ran handlers
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 META: ran handlers
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 PLAY RECAP *********************************************************************
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563 master.ipadomain.test : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:563
DEBUG paramiko.transport:channel.py:1212 [chan 18] EOF received (18)
DEBUG paramiko.transport:channel.py:1212 [chan 18] EOF sent (18)
DEBUG pytest_multihost.host.Host.ansible.cmd18:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 94] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 94] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 94 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin']
DEBUG pytest_multihost.host.Host.master.cmd95:transport.py:519 RUN ['kinit', 'admin']
DEBUG paramiko.transport:channel.py:1212 [chan 94] Sesch channel 94 request ok
DEBUG pytest_multihost.host.Host.master.cmd95:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd95:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd95:transport.py:563 Password for admin:
DEBUG paramiko.transport:channel.py:1212 [chan 94] EOF received (94)
DEBUG paramiko.transport:channel.py:1212 [chan 94] EOF sent (94)
DEBUG pytest_multihost.host.Host.master.cmd95:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 95] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 95] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 95 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'pwpolicy-show', '10newpolicygroup']
DEBUG pytest_multihost.host.Host.master.cmd96:transport.py:519 RUN ['ipa', 'pwpolicy-show', '10newpolicygroup']
DEBUG paramiko.transport:channel.py:1212 [chan 95] Sesch channel 95 request ok
DEBUG pytest_multihost.host.Host.master.cmd96:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd96:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd96:transport.py:563 Group: 10newpolicygroup
DEBUG pytest_multihost.host.Host.master.cmd96:transport.py:563 Priority: 14
DEBUG pytest_multihost.host.Host.master.cmd96:transport.py:563 Grace login limit: -1
DEBUG paramiko.transport:channel.py:1212 [chan 95] EOF received (95)
DEBUG paramiko.transport:channel.py:1212 [chan 95] EOF sent (95)
DEBUG pytest_multihost.host.Host.master.cmd96:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 96] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 96] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 96 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kdestroy', '-A']
DEBUG pytest_multihost.host.Host.master.cmd97:transport.py:519 RUN ['kdestroy', '-A']
DEBUG paramiko.transport:channel.py:1212 [chan 96] Sesch channel 96 request ok
DEBUG pytest_multihost.host.Host.master.cmd97:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd97:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG paramiko.transport:channel.py:1212 [chan 96] EOF received (96)
DEBUG paramiko.transport:channel.py:1212 [chan 96] EOF sent (96)
DEBUG pytest_multihost.host.Host.master.cmd97:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 97] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 97] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 97 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin']
DEBUG pytest_multihost.host.Host.master.cmd98:transport.py:519 RUN ['kinit', 'admin']
DEBUG paramiko.transport:channel.py:1212 [chan 97] Sesch channel 97 request ok
DEBUG pytest_multihost.host.Host.master.cmd98:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd98:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG pytest_multihost.host.Host.master.cmd98:transport.py:563 Password for admin:
DEBUG paramiko.transport:channel.py:1212 [chan 97] EOF received (97)
DEBUG paramiko.transport:channel.py:1212 [chan 97] EOF sent (97)
DEBUG pytest_multihost.host.Host.master.cmd98:transport.py:217 Exit code: 0
DEBUG paramiko.transport:channel.py:1212 [chan 98] Max packet in: 32768 bytes
DEBUG paramiko.transport:channel.py:1212 [chan 98] Max packet out: 32768 bytes
DEBUG paramiko.transport:transport.py:1819 Secsh channel 98 opened.
INFO pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'pwpolicy-del', '10newpolicygroup']
DEBUG pytest_multihost.host.Host.master.cmd99:transport.py:519 RUN ['ipa', 'pwpolicy-del', '10newpolicygroup']
Based on the test results, marking the bug Verified
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 |
Description of problem: Not able to reset the maxrepeat in the ansible-freeipa pwpolicy module. How reproducible: Steps to Reproduce: # cat pwpolicy_module.yml --- - name: Playbook to ensure maxrepeat reset. hosts: ipaserver become: true tasks: - ipapwpolicy: ipaadmin_password: <xxxxxxx> name: 10newpolicygroup maxrepeat: "" PLAY [Playbook to ensure maxrepeat reset.] ******************************************************************** TASK [Gathering Facts] **************************************************************************************** task path: /root/pwpolicy_module.yml:2 ok: [master.ipadomain.test] TASK [ipapwpolicy] ******************************************************************************************** task path: /root/pwpolicy_module.yml:7 fatal: [master.ipadomain.test]: FAILED! => {"changed": false, "msg": "argument 'maxrepeat' is of type <class 'str'> and we were unable to convert to int: <class 'str'> cannot be converted to an int"} PLAY RECAP **************************************************************************************************** master.ipadomain.test : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Actual results: FAILED! => {"changed": false, "msg": "argument 'maxrepeat' is of type <class 'str'> and we were unable to convert to int: <class 'str'> cannot be converted to an int"} Expected results: pwpolicy maxreset should work with the reset. Additional info: [root@master ~]# ipa pwpolicy-show global_policy Group: global_policy Max lifetime (days): 90 Min lifetime (hours): 1 History size: 0 Character classes: 0 Min length: 8 Max failures: 6 Failure reset interval: 60 Lockout duration: 600 Max repeat: 100 Grace login limit: -1 [root@master ~]# ipa pwpolicy-mod global_policy --maxrepeat= Group: global_policy Max lifetime (days): 90 Min lifetime (hours): 1 History size: 0 Character classes: 0 Min length: 8 Max failures: 6 Failure reset interval: 60 Lockout duration: 600 Grace login limit: -1