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

functions are not idempotent #4

Open
C-F-A opened this issue Oct 28, 2021 · 0 comments
Open

functions are not idempotent #4

C-F-A opened this issue Oct 28, 2021 · 0 comments

Comments

@C-F-A
Copy link

C-F-A commented Oct 28, 2021

The functions of this Ansible "Collection" do not really work the way Ansible is designed.

The idea of Ansible is that the functions are idempotent and define the target state.
However your scripts are just wrapper functions for redfish commands.

Creating a user fails if the username is already used instead of configuring it in the right way.

Even worse, functions like ibmc_get_account do not register the result correctly. Output is written to a file and the target filename is not even given back as parameter but "hidden" in the result msg.
"Account obtained successfully. For more detail please refer to /home/user/ansible_ibmc/report/account_info/10.10.10.10_AccountInfo.json"

Would be great if a working Ansible Collection with idempotent functions would be provided.

Thanks in advance.

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

No branches or pull requests

1 participant