Top "Idempotent" questions

A function is said to be idempotent when it can be called multiple times without changing the result.

How to get the installed yum packages with Ansible?

I am trying to get all the installed yum package on an RHEL machine. I can easily get it through …

ansible ansible-playbook idempotent
What does idempotent method mean and what are the side effects in case of calling close method of java.lang.AutoCloseable?

Java docs of close() method of java.lang.AutoCloseable says Note that unlike the close() method of Closeable, this close() …

java idempotent autocloseable
Consequences of POST not being idempotent (RESTful API)

I am wondering if my current approach makes sense or if there is a better way to do it. I …

http rest post put idempotent
Terraform: How to run remote-exec more than once?

I have noticed that terraform will only run "file", "remote-exec" or "local-exec" on resources once. Once a resource is provisioned …

ansible terraform idempotent
ansible ignore the run_once configuration on task

I am using Ansible and I want to run a task only once. I follow the documentation about how to …

task ansible ansible-playbook idempotent
REST API GET with sensitive data

I'm designing api with method that should be an idempotent, and should not modify any data on the server. It …

rest http encryption get idempotent
Are idempotent functions the same as pure functions?

I read Wikipedia's explanation of idempotence. I know it means a function's output is determined by it's input. But I …

function idempotent pure-function
Does idempotency include response codes?

Do repeated requests to idempotent methods have to return the same response code? A lot of other people are asking …

http idempotent