Closed ankitcharolia closed 7 years ago
modules/identity/ipa/ipa_user.py
ansible 2.3.0 (devel 6e892ed974) last updated 2016/12/07 12:15:51 (GMT +200)
No Changes
N/A
If sshpubkey is an empty list, ansible ipa_user module fails with 'repsonse user_mod: no modifications to be performed'
ipa_user module should not be failed in case sshpubkey is an empty list
failed: [X.X.X.X] (item={u'mail': u'xyz.xyz@xyz.com', u'givenname': u'xyz', u'name': u'xyz', u'sn': u'xyz'}) => {"failed": true, "item": {"givenname": "xyz", "mail": "xyz.xyz@xyz.com", "name": "xyz", "sn": "xyz"}, "msg": "repsonse user_mod: no modifications to be performed"}
This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible
Please read through the repomerge page in the dev guide.
Fixed by https://github.com/ansible/ansible/pull/19210
ISSUE TYPE
COMPONENT NAME
modules/identity/ipa/ipa_user.py
ANSIBLE VERSION
CONFIGURATION
No Changes
OS / ENVIRONMENT
N/A
SUMMARY
If sshpubkey is an empty list, ansible ipa_user module fails with 'repsonse user_mod: no modifications to be performed'
EXPECTED RESULTS
ipa_user module should not be failed in case sshpubkey is an empty list
ACTUAL RESULTS
failed: [X.X.X.X] (item={u'mail': u'xyz.xyz@xyz.com', u'givenname': u'xyz', u'name': u'xyz', u'sn': u'xyz'}) => {"failed": true, "item": {"givenname": "xyz", "mail": "xyz.xyz@xyz.com", "name": "xyz", "sn": "xyz"}, "msg": "repsonse user_mod: no modifications to be performed"}