Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using multiple groups, ipagroup is not idempotent. #1291

Open
rjeffman opened this issue Sep 7, 2024 · 0 comments
Open

When using multiple groups, ipagroup is not idempotent. #1291

rjeffman opened this issue Sep 7, 2024 · 0 comments

Comments

@rjeffman
Copy link
Member

rjeffman commented Sep 7, 2024

Due to the way values are extracted from the groups dictionary, case insensitive fields are incorrectly evaluated.

The folowing playbook snippet fails on the second task with group_add_member: user USER01: This entry is already a member'

- name: Add group.
  ipagroup:
    groups:
      - name: group01
        users: user01
- name: Add group, again.
  ipagroup:
    groups:
      - name: group01
        users: USER01

All modules with support for multiple object modifications should be reviewed (e.g.: ipaservice), as this issue may also happen on those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant