ipa_group: fix idempotency when external: false on existing non-external group (#11933)

* fix(ipa_group): skip group_mod when external flag matches IPA state

When external=false (the default), get_group_diff() left the external
key in the diff even though the group was already non-external, causing
a spurious group_mod call that IPA rejected with "no modifications to
be performed". The fix checks equality in both directions.

Fixes #5061

* fix(ipa_group): add changelog fragment for PR 11933

* add quoting to fragment
This commit is contained in:
Alexei Znamensky
2026-05-04 07:27:00 +12:00
committed by GitHub
parent de42aec78b
commit c4fc0ff4e1
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "ipa_group - fix idempotency when ``external: false`` on an existing non-external group (https://github.com/ansible-collections/community.general/issues/5061, https://github.com/ansible-collections/community.general/pull/11933)."