ionos-cloud / module-ansible

Apache License 2.0
10 stars 8 forks source link

correct handling of deletion #30

Closed genofire closed 2 years ago

genofire commented 2 years ago

Description

We use the deletion for user and groups. The result are incorrect on a ansible view. If a group was there and we try to delete, there should the "changed" be true (not false like current). If a group does not exists and we try to delete, the "changed" result should be false (and not failed like current).

Expected behavior

Environment

Ansible version:

Module version:

OS:

Configuration Files

How to Reproduce

Error and Debug Output

Additional Notes

References

genofire commented 2 years ago

please reopen - group are just one part - missing user

mimihalescu commented 2 years ago

Hello!

We fixed the user deletion too, but in another PR: https://github.com/ionos-cloud/module-ansible/pull/33

The new version will be available in a few minutes in Ansible Galaxy too.

Please let me know if there is still the need to reopen the issue.

Thank you!