freeipa / ansible-freeipa

Ansible roles and modules for FreeIPA
GNU General Public License v3.0
482 stars 230 forks source link

`ipaidp` idempotency fails #1210

Open ikerexxe opened 5 months ago

ikerexxe commented 5 months ago

I have the following task:

    - name: Ensure github idp is present
      ipaidp:
        ipaadmin_password: ****
        name: github
        provider: github
        client_id: ****
        secret: ****

The first time I run it, it works correctly. But the second time it fails with:

TASK [Ensure github idp is present] ********************************************************************
fatal: [gdm.test]: FAILED! => {"changed": false, "msg": "idp_mod: github: no modifications to be performed"}

If there are no modifications to be performed, then it should skip the task.

rjeffman commented 5 months ago

Thank you for the report.

IdP and AD idempotency issues are planed to be worked on Q2 and Q3 this year.